Science is used in a camera through optics and electronics. Optics focus light correctly on a sensor, while electronics process the light into images. The principles of physics and chemistry are crucial in their function.