(3.8.6)What is the difference between Sprite and SpriteRenderer?

In 3.8.6, I found both Sprite and SpriteRenderer can be used to add images to the game. However, what is the difference between them?

When should I use Sprite and when should I use SpriteRenderer?

It seems that SpriteRenderer is used for 3D when we want the z-index of a Sprite is effective (eg: a default-sprite at the middle of a sphere shown below):


,is that true?

This doc can give you more clearance 3D Sorting | Cocos Creator