Question: what is the relationship between potential energy and force?
Answer: F in the definition of potential energy is the force exerted by the force field, e.g., gravity, spring force, etc. The potential energy U is equal to the work you must do against that force to move an object from the U=0 reference point to the position r.