well first we need to know what the big bang is...
according to google is the cosmological model for the observable universe from the earliest known periods through its subsequent large-scale evolution.
well after this
the early universe cooled, the matter produced in the Big Bang gathered into stars and galaxies. then about a billion years after the Big Bang, gravity caused these atoms to gather in huge clouds of gas, forming collections of stars known as galaxies.