Confocal microscopy enhances fluorescent imaging by using point illumination and spatial filtering to eliminate out-of-focus light. This technique employs a pinhole to achieve optical sectioning, providing sharper images and allowing the reconstruction of three-dimensional structures. The physics behind confocal microscopy involves understanding the diffraction of light and the principles of point spread functions.