Optical fibres consist of a core (higher refractive index) surrounded by cladding (lower refractive index). Light entering the core at a suitable angle undergoes total internal reflection at the interface between the core and cladding, bouncing back into the core. This process repeats along the length of the fibre, guiding the light even when the fibre is bent, as long as the bend is not too sharp.