Optical fibers operate on the principle of total internal reflection (TIR). Light is guided through the core of the fiber by repeatedly reflecting off the core-cladding boundary, which requires the core to have a higher refractive index than the cladding.