In the context of optics, which of the following best describes how a magnifying glass works?
A) It uses a concave lens to spread light rays and produce a smaller, inverted image.
B) It uses a convex lens to converge light rays and produce a larger, upright image.
C) It relies on a prism to disperse light into its component colors without changing the size of the image.
D) It employs a concave mirror to reflect light and form a smaller, inverted image.