EPROM stands for erasable programmable read-only memory.
EPROM is a nonvolatile kind of memory.
If ultraviolet rays are exposing (Mercury –vapor light) to the EPROM chip, then this chip will release stored charge. The stored content in that EPROM chip will be lost or erased.