The International Monetary Fund (IMF) is a specialized agency of the United Nations, but it operates independently. Its primary function is to provide financial assistance, such as loans, exclusively to its member nations to stabilize their economies.