Fiber optic communication uses glass or plastic fibers to transmit data using light. A transmitter converts an electrical signal to light which is sent through the fiber. The light travels through the fiber core via total internal reflection. At the receiver, a photodetector converts the light back to an electrical signal. There are two main types of optical fibers - single mode fibers for long distances and multi-mode fibers for shorter cable runs. Communication systems use either LEDs or lasers as the light source.