Complex sentence: Light is kept in the core by the phenomenon of total internal reflection which causes the fiber to act as a waveguide.
Split into simpler sentences: Light is kept in the core by total internal reflection. This causes the fiber to act as a waveguide.