A prism is a transparent solid body, often having triangular bases, used for dispersing light into a spectrum or for reflecting rays of light.