I've had my domains for decades now, and once or twice I've accidentally failed to renew in time. My registrar has a grace period during which they won't release the domain for others to register it, just to let people who accidentally let it lapse have a chance to renew it first.
In my case, I failed to notice the renewal notice and only realized that I missed it once the domains stopped resolving. The grace period let me avoid losing them.