Raytracing is a way to simulate realistic light, so it does everything like reflections, shadows, etc, that light does in reality. Games don't have to use it for everything, sometimes it uses it for one thing but not others. The PS5 isn't nearly strong enough to go full ray tracing in a game...