The smallest unit of electromagnetic radiation, acting as a particle with energy proportional to its frequency.