There are organizations that are called registries that manage each TLD option. When you register domain names, you would first visit a domain registrar who would in turn check with the registry that manages that TLD to see if the domain is available. If the domain for the TLD you want discovers that it is in fact available, the registry adds it to their registry and gives you access to it. If the domain has already been registered by another user for that TLD, you will be shown during the domain registration process that the domain isn't available.
For special purposes, such as network testing, documentation, and other applications, IANA also reserves a set of special-use domain names. This list contains domain names such as example, local, localhost, and test. Other top-level domain names containing trade marks are registered for corporate use. Cases include brands such as BMW, Google, and Canon.
A domain name registration is simply reserving your website's name for a specified period of time. The two parties involved with a domain registration are generally the user who is registering the domain and the domain registrar. The domain registrant is the user who actually registers the domain name and the domain registrar is the company who helps that user with their domain registration.
It's good to decide early on if you want to have a brand domain or a keyword domain. The benefit of a brand domain is that your domain will most likely be considered as trustworthy, and immediately shows visitors that it's linked to your business or personal blog. A keyword domain, on the other hand, has the advantage that it will be better optimized for search engines, and therefore will get higher search results. In recent years, however, the drastic improvement in search results thanks to a keyword domain has begun to decrease.
Absolutely. Owning 'yourname.com' (as well as related domains such as yourname.tech or yourname.me) is a great way to brand yourself and retain control over your name's online presence. With a personal domain name, you can set up a portfolio, blog, or hobby site that’s associated with your own personal life. You can also set up a custom email address like firstname.lastname@example.org allowing your visitors an easy and memorable way to reach you. So even if you have no immediate use for yourname.com, it's wise to register a personal domain to ensure that you (and not some stranger) control your name online.