Why do We Need a Government?

Sometimes when we get frustrated with government, we wonder why we even need one. However, the main point of government is protection, either through defense or through laws. And that, I can appreciate.