Question: electrons are ejected by this?
Answer: The photoelectric effect is the process in which EM radiation ejects electrons from a material. Einstein proposed photons to be quanta of EM radiation having energy E = hf, where f is the frequency of the radiation.