photopsia

noun
pho·​top·​sia | \ fō-ˈtäp-sē-ə How to pronounce photopsia (audio) \

Medical Definition of photopsia

: the perception of light (as luminous rays or flashes) that is purely subjective and accompanies a pathological condition especially of the retina or brain