Objects gain potential energy when influenced by forces such as gravity, elasticity, or chemical composition. For example, A rock held above the ground has gravitational potential energy due to its position in the earth’s gravitational field. https://potentialenergycalculator.org/