Electromagnetic radiation is composed of photons, which are discrete packets of energy that exhibit wave-particle duality.