A Domain Name Registry or NIC (Network Information Center) is in charge of top-level domains (e.g. ".com") management.
Registrars obtain domains under certain TLDs from registries. End customers obtain their domains through registrars.
Some registries are also registrars.