Spectrum

White light

Split into colours

Created by sunlight

Rainbows glow

Chemicals create different colours, sodium used in street lights glows yellow. Chemicals are used in fireworks, like strontium (red?) or copper green, creating different colours, blues, purples, oranges.

The reason sunlight is made up of a spectrum is because the sun is made not only of hydrogen and helium but all the chemicals in the periodic table up to iron (any chemicals beyond that can only be created in Super Novae explosions). All the chemicals in the sun glow in different colours, which is why they show up when the white light from the sun passed through a prism. If you split the spectrum further you can find dark lines, these are markers of which chemicals are present. The older the star the more chemicals. As a star gets older it starts to burn up its hydrogen and helium. New chemicals are created by atoms fusing together. That’s where new chemicals are made. When you think about it, if it wasn’t for stars burning or exploding we couldn’t exist.