Fiber optic cables work by transmitting light signals through the core. The light signals are generated by lasers or LEDs, which travel through the core and reflect off the cladding. This process, known as total internal reflection, allows the light to carry data over long distances with minimal loss.