Does Mars follow the ecliptic?
The planets don't remain exactly on the ecliptic, but they always stay fairly close to it. ... For the outer planets, Mars, Jupiter, Saturn, Uranus, Neptune, and Pluto, the explanation is a bit more subtle. These planets are further from the Sun than we are, and they orbit the Sun more slowly than we do.
What do planets follow?
As each planet rotates, it also follows a path around the sun. The path is called an orbit. We say the planet orbits (revolves around) the sun. Something else makes our solar system work the way it does.