A purple team is a security team that combines offensive and defensive tactics to identify, assess, and mitigate security risks.