The primary function of a compound microscope is to magnify small objects or specimens so that they can be observed in greater detail. This type of microscope uses multiple lenses—typically an objective lens and an eyepiece (ocular lens)—to achieve higher levels of magnification than a simple magnifying glass.