FACS works by suspending cells in a fluid stream and passing them through a laser beam. The cells are then tagged with fluorescent markers that bind to specific cell components. When these tagged cells pass through the laser, they emit light at specific wavelengths. Detectors capture this light, and the cells are sorted based on their fluorescence intensity and light scattering properties.