Confocal microscopes are advanced optical microscopes that use point illumination and a spatial pinhole to eliminate out-of-focus light, producing sharp, high-resolution images of thick or layered specimens. By scanning samples point by point and reconstructing the data with computer software, they generate detailed 2D images and 3D reconstructions of biological and material samples.