Particle physics

Why is anomaly cancellation important for a quantum gauge theory?