It's the same graphical ray tracing, although with many modern improvements like path tracing for randomization of the ray bounces to efficiently approximate and converge on the correct lighting, and ML-powered denoising and upscaling algorithms that take low-resolution fast rendering and transform it to higher quality and detail.