Light is the basis of all photography - analog or digital. This video, from The Real Physics, explains light and its part in the electromagnetic spectrum.
Light can be filtered, bent, or reflected to create effects which are useful for photography.
Why is light bent when it passes through a lens? This video from RMIT University explains how light travels through different media.