The Domain Name System (DNS) has a tree structure or hierarchy, with each node on the tree being a domain name. A subdomain is a domain that is part of a larger domain, the only domain that is not also a subdomain is the root domain.
For example, mail.example.com and calendar.example.com are subdomains of the example.com domain,