The answer is natural selection.
In natural selection, genotype variations that will increase the chance
of survival and reproduction of some organism are preserved and will be
inherited. Red and green colors of butterflies increased the chance of their <span>survival and reproduction, so these traits will pass to the next generation.</span>
When charged particles from the sun strike atoms in earth's atmosphere, it causes electrons to move to a higher energy state. When the electrons drop back to a low energy state they release light photons. This is what causes the Aurora lights
Depending on the organism, the cell can get its energy from the sun (Plant; Photosynthesis) or through ATP energy (Animal).