All of the planets are round because of gravity. When our Solar System was forming, gravity gathered billions of pieces of gas and dust into clumps which grew larger and larger to become the planets.