The main problem solved by inflation is the origin of large-scale structures, such as galaxies. Inflation theory says that in a slow expansion of the universe, quantum fluctuations were only on the tiny distance scales; when the universe experienced a brief period of inflation, however, these quantum fluctuations are "stretched" much larger to cause density fluctuations. The places of higher density later caused matter to clump in those locations and form large-scale objects. 