What is the difference between a prism and a pyramid math rainbow light prism optical glass pyramid with visible spectrum wave rays vector illustration difference between prism and pyramid in maths.

What is the difference between a prism and a pyramid math rectangular pyramid vs prism difference between prism and pyramid geometry.