Planets are round mainly due to the effect of:
Gravity is a fundamental force in our universe due to which all objects attract each other. It is because of gravity that we are standing on earth. The effect of gravity varies from planet to planet. Huge planets have strong gravity acting inwards to the planet. Hence, this makes planets round.