Dear Student,
A triangular prism is a type of a prism. All prisms have two bases, which comprise of two congruent or identical polygons - these could be triangles, quadrilaterals, pentagons, etc - and theses bases are joined by rectangles on the sides. A triangular prism is one which has triangular bases.