Distribution of energy and substances in the early universe was not the same. Variation in density of the gravitational forces came from initial variation, which resulted in the accumulation of substances. This agglomeration of substances is the basis for the development of galaxies. A galaxy is a group of innumerable stars. Galaxies are highly extensive. They range in thousands of light years. The formation of a galaxy begins with the accumulation of huge clouds formed by hydrogen gas.