The study of how light is reflected and refracted at surfaces and interfaces between different media.