In the case of an electromagnetic wave these energy states are called quanta of light or photons.