A compound microscope uses multiple lenses to achieve higher magnification (usually up to 1000x or more) than a hand lens, which is sufficient to visualize bacteria.