Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What is the main purpose behind the formation of the United Nations?

### Response:
The main purpose behind the formation of the United Nations is to maintain international peace and security, promote human rights and economic and social progress, and to foster respect for international law and fundamentals of international relations.