The branch of optics that deals with the behavior of light rays, including reflection, refraction, and image formation.