What is the primary purpose of ray tracing in computer graphics?
A) To simulate how light interacts with surfaces to produce realistic images by tracing rays of light as they travel through a scene.
B) To generate images using a grid of pixels without considering light interactions.
C) To enhance the performance of graphics processing by reducing image resolution.
D) To calculate the color values of pixels based on predefined textures and patterns.