Migraine and Ophthalmic Migraine
Some people experience flashes of light that appear as jagged lines or "heat waves" in both eyes at the same time, often lasting 10-20 minutes and they may or may not affect a person's vision. These types of flashes are usually caused by a spasm of blood vessels in the brain, which is called a migraine.
If a headache follows these flashes, it is called a classic migraine, and depending on its severity it may be accompanied by nausea, vomiting, and light or sound sensitivity. However, these "auras" can also occur without a headache. In this case, the episode is called ophthalmic migraine.
Contact your ophthalmologist if you experience these symptoms.