It makes sure you get some of the 5* you were aiming for.
But thanks for the question, I now got a good graphic for that which I found while googling for it:
(Source: Pity Infographic 2 – Promotional Character Banner Only )
There you also see the “Soft pity” and know exactly where you stand. 🙂
Genshin Impact Pity System Explained: 5 Things and 5 Tips You Must Know
Genshin Impact: What is Pity System? Here’s a complete explanation