What general contractors do?

What exactly do general contractors do in a construction project? Can you explain their roles and responsibilities?

General contractors manage projects, hire subcontractors, and ensure quality.