It was used in the context of the political and economic reforms introduced by Soviet leader Mikhail Gorbachev in the mid-1980s. The reforms aimed to restructure the Soviet system, improve its efficiency, and address the country's economic and social problems.
Therefore, the word "perestroika" is a direct borrowing from the Russian language, and its meaning is rooted in the concept of restructuring and reform.