Optical circuits operate by manipulating light through different components such as waveguides, modulators, and detectors. Light, typically from a laser, is guided through these components to perform logical operations, signal processing, or data transmission.