Green flashes and green rays are optical phenomena that sometimes occur right before sunset or right after sunrise. When the conditions are right, a green spot is visible above the upper rim of the disk of the sun. The green appearance usually lasts for no more than a second or two. Image source: