Backface Culling

The math behind Backface Culling is cross product.

Two vectors will create a plane

The cross product of two vectors will create a vector that is perpendicular to the plane

If we dot the cross product with the vector from the camera to the vertex(object), we will get a positive number if the vertex is facing the camera, and a negative number if the vertex is facing away from the camera.