Light rays move in straight lines. But through an optical fibre, they can move in any type of zig-zag path because
(a) the holes through the fibres are extremely fine
(b) light rays are absorbed at the entry end and relieved at the exit end of the fibre
(c) scattering of light occurs inside the fibre
(d) successive total internal reflections occur as a ray moves through the fibre