Subdomain is a part of your main domain. Subdomains are used to create parallel website under same domain name.
An example of a subdomain is ‘blog.example.com’, whereas example.com is a main domain name. You can create many subdomains under your main domain.