A magnifying glass uses convex lenses to refract light, causing parallel rays to converge at a focal point. This magnifies the object under observation, making it appear larger and clearer.