Ray tracing captures the effect of light and applies it to computer-generated images to create photorealistic visuals. Ray tracing is used in video game production, VFX, and animation.