* Distance from the Sun: The further a planet is from the Sun, the longer its orbital path is. Since planets travel in elliptical orbits, they need more time to complete a full loop around the Sun. Think of it like a runner on a longer track, they have to run farther to finish the race.
* Orbital Velocity: While a planet's distance is the primary factor, its orbital velocity also plays a role. Planets closer to the Sun have a stronger gravitational pull from the Sun, which makes them move faster. This means even though their orbits are smaller, they still take longer to complete a full revolution than planets farther away.
Here's an analogy: Imagine a merry-go-round. The horses closer to the center have a shorter distance to travel but also move slower. The horses farther out have a longer path but move faster. In both cases, it takes roughly the same time for each horse to complete a full circle.
In summary: The combination of a planet's distance from the Sun and its orbital velocity determines how long it takes to complete a full orbit.