Who is considered a prime contractor and a subcontractor?

A general contractor (main contractor, prime contractor) is responsible for the day-to-day oversight of a construction site, management of vendors and trades, and the communication of information to all involved parties throughout the course of a building project.

A subcontractor is a business or person that carries out work for a company as part of a larger project.