from what ive read, raytracing calculates every light photon or something. so basically its a more realistic form of lighting thats only used for rendering(usually) and you can use it to determine how the light will bend through an object, like if you wanted to make a glass kind of thing, the light would bend through it and make it distort things as you look through it.