Branch of physics that deals with the properties and phenomena of both visible and invisible light, including its generation, transmission, and detection or perception.