What is deadweight loss

What is deadweight loss and how does it impact consumer consumption, and government public planning?