Flow cytometers function by suspending cells in a stream of fluid and passing them through an electronic detection apparatus. The cells are stained with fluorescent markers that bind to specific cellular components. When the cells pass through the laser beam, they emit light at various wavelengths. The emitted light is captured by detectors, allowing for detailed analysis of properties such as cell size, granularity, and the presence of specific biomarkers.