A compound microscope uses multiple lenses to magnify small objects. It typically consists of an ocular lens (eyepiece) and one or more objective lenses. The objective lens magnifies the specimen, and this magnified image is further enlarged by the ocular lens. Illumination is provided by a light source, which passes through the specimen, enhancing visibility and contrast.