Why was the United Nations Formed?

The United Nations was started after World War II in 1945. The purpose was have a place to talk within countries and to stop wars from happening between countries.