Our understanding of the quantum nature of light and electrons has grown as a result of research into the photoelectric effect. It has also affected the development of the wave-particle duality notion. The photoelectric effect is also commonly used to look at the energy levels of electrons in substances.