The electromagnetic frequency of a wave is defined as how many times the peak of this oscillation moves past a point each second. This has a major effect on the properties of the wave, including its energy.