How is Visible Light Produced?

We are able to see visible light when it shines through a prism or water vapor. When the while light passes through either of these things it is broken apart into the colors of the visible light spectrum.