OCT works on the principle of interferometry, where light waves are combined to measure differences in path length. A low-coherence light source is split into two beams: one directed at the sample and the other at a reference mirror. The reflected light from both paths is recombined to create an interference pattern, which is then used to generate detailed images of the tissue.