Dear student
Every object exerts an attractive force on every other, this force is known as Gravitation. Sun applies this force on every planet which makes them move around it in near circular path. They have been doing so for billions of years as the Gravitational Force never subsides.
Regards