Globalization refers to the increasing interconnectedness and interdependence of peoples and countries resulting from the growing scale of cross-border trade and financial flows, as well as the spread of technology. It began increasing significantly in the late 20th century due to advances in transportation and communication technologies. Globalization has economic, financial, ecological, political, sociological, and technological dimensions and has benefits such as increased trade, economic growth, access to affordable goods, and standard of living, but also costs such as loss of manufacturing jobs in high-income countries, environmental degradation, and social pressures from migration. Foreign direct investment is a major factor driving globalization as companies invest across borders.