Rigidbody or Character Controller?

in what type of games should i prefer the one over the other for implementing the player movement script for a 3d game in third person?

It is debatable but I would recommend rigidbody over cc(character controller) because rigidbody has gravity and if used using velocity movement it works just like the better of cc and cc has no gravity physics.

In my opinion, use Rigidbody, and physics movement for a 3D-3rd person game. This will make collisions and things like Gravity, work as expected.

The worst thing about cc is that its own collider doesn’t hit on raycast.