After the initial explosion of the Big Bang, the universe expanded and cooled down. Over time, matter began to come together under the influence of gravity , forming galaxies, stars, and eventually, planets. The expansion continues to this day , albeit at a much slower rate.