A subdomain is a prefix added to a main domain name, creating a unique web address that represents a specific section or subdivision of a website.