Why is classroom management a critical focus of effective instruction?

If the kids in the classroom are disruptive and "going nuts," who is learning anything??