Optics is the study of light, including its interactions with matter. There are three main subfields: geometrical optics studies light as rays, physical optics studies light as waves, and quantum optics studies light as particles. Mirrors form images through the reflection of light rays according to specific rules. Plane mirrors form virtual upright images that are laterally inverted. Spherical mirrors can be concave or convex and form images using rules for tracing the path of light rays. Constructing ray diagrams involves using rays that pass through the center of curvature, focal point, or pole to locate the image point.