Confocal microscopy improves imaging by using point illumination and a spatial pinhole to eliminate out-of-focus light. This results in higher resolution and contrast compared to conventional fluorescence microscopy. It allows for the creation of 3D reconstructions of tissue samples, providing more detailed spatial information.