Let us assume that a stone kept at a height. The potential energy of stone is maximum and kinetic energy is zero at that height. When the stone is in free fall, its kinetic energy increases and potential energy decreases. When the stone hits the ground, its kinetic energy becomes maximum and potential energy becomes zero. Throughout this, the mechanical energy remains constant.