Thanks! Each planet acceleration depends on its distance to the Sun/other planets and their weights (the closer the two bodies are, the stronger they attract each other; the heavier a body is, the stronger it attracts other bodies).