Geometrical optics is the study of how light interacts with materials and their shapes. Light rays reflect off surfaces according to the law of reflection, where the angle of incidence equals the angle of reflection. Refraction occurs when light travels from one medium to another and its speed changes, causing it to change direction. Snell's law describes the relationship between the refractive indices and angles of incidence and refraction between two media. Total internal reflection occurs when light travels from an optically dense to a less dense medium at an angle greater than the critical angle, and the light is fully reflected back into the first medium.