What does a Prism do?

A triangular prism has two triangle ends and three rectangle sides, just like a camping tent or a chocolate bar!

▶ what THAT shape do?!