Domain names are issued a certain amount of time when they are created.
After that expires, you will renew it through the same company you registered.
If you fail to renew your domain name before it expires, it will be deleted.
And another person can register it to their name.
Or, if the registrar has a grace period for expired domain names, you can renew it even after expiry within a certain time period.