An agency is an external service provider offering specialized marketing services, while a marketing team consists of in-house employees responsible for a company's internal marketing efforts. Agencies bring external expertise and flexibility, while in-house teams provide direct alignment with company culture and goals. The choice depends on specific business needs and preferences.