the branch of physics that studies the behavior and properties of light, including its interactions with matter and the construction of instruments that use or detect it.