Optical fibers work through total internal reflection - light bounces inside the fiber because the angle is too shallow to escape. This lets light travel long distances with minimal loss.
Your internet likely comes through fiber optic cables using this principle.