What is the purpose of a gel sheet?

A gel sheet is used in traditional PAR cans to produce color or sometimes reduce the intensity or diffuse the light.