What keeps each of these orbits happening rather than having us go travelling off away from the sun, is something called centripetal force ... the directions of the velocity and acceleration ...
Gravitational attraction provides the centripetal force needed to keep a planet in ... a circular orbit at a constant speed has a changing velocity. This is because velocity is a vector quantity ...