Arainbow is formed by refraction of light by separating light into all different colors, and light rays come in through the lens. Given these facts, a rainbow is formed by what of rays among the following options:
- an electron microscope
 - energy of moving objects
 - heat energy
 - Solar energy
 - rain or sun shine
 - separation of colors
 - sun's heat
 - flow of electrons


 

      separation of colors   