A subcontractor is a company or individual hired by the main contractor to perform a specific portion of the work on a construction project. They are typically responsible for specialized tasks, such as electrical work, plumbing, or carpentry, and work under the direction of the main contractor.