Confocal microscopy selectively illuminates a single focal plane within the specimen, eliminating out-of-focus blur and enhancing image clarity compared to traditional microscopy.