Discipline in the classroom helps students stay focused on their academics. Over time, this teaches them how to focus in other ways. A disciplined student is able to stay focused on his goals and keep his work as a top priority.
I am with Constructive punishment that is focused on natural consequences shapes childrens' behavior in the desired direction. It can also eliminate or prevent disruptive acting out when students know what the consequences are for their actions.