After rain some of the rain droplets remain in the air. When sunlight falls on these droplets, these water droplets behave like a prism. The visible light passes through these drops of water and split into different wavelengths. The sunlight splits into seven colors that are violet, indigo, blue, green, yellow, orange and red. Red light has maximum wavelength and violet light has minimum wavelength. As the frequency and wavelength of a wave are inversely proportional to each other so, red light has minimum frequency and violet light has maximum frequency. Moreover, violet light has maximum energy and red light has minimum energy.