A triangular pyramid, also known as a tetrahedron, has 6 edges in total. These edges consist of 3 edges forming the triangular base and 3 edges connecting the base vertices to the apex (top vertex) of the pyramid