Gravity is considered a conservative force because gravity converts gravitational potential energy to kinetic energy.
In a system where only gravitational forces are acting, the work done by gravity depends only on the initial and final positions of the object, not on the path taken. This means that the total mechanical energy (potential + kinetic) remains constant for an isolated system, which is a key characteristic of conservative forces.