Consider subdomains as an extension of your domain. For example, your site is www.example.com. A subdomain would be test.example.com, and another would be webhosting.example.com.
Subdomains are usually treated as separate sites from the main domain site.