What’s the name of this shape triangular prism or triangular pyramid?

Answer:
Triangular pyramid
Explanation:
If you put the triangles up and connect it becomes a pyramid!