Kinetic energy (KE) is energy possessed by a body by virtue of its movement.
Potential energy (PE) is the energy possessed by a body by virtue of its position or state.
While kinetic energy of an object is relative to the state of other objects in its environment, potential energy is completely independent of its environment.
Total energi is always constant. Total energy= KE+PE