It works by REFRACTING light, and breaking it according to its wavelength. You can purchase a triangular prism of glass or plastic from hobby stores, and you can also make a prism from a simple glass of WATER. Fill the glass with water so that it's slightly more than half full.