Total internal reflection: light passes from an optically more dense medium (refractive index n1) to another less dense medium (refractive index n2) and the incident light ray is refracted in such a way that it is unable to cross the surface between both media, so it is completely reflected.

Thus, the light beam is completely confined in the densest medium (the core) and propagates through its interior.