You'll have to be more specific with the context to get a full answer, because the first thing I think of would indeed be gravity (though more so the V(r) = GMm/r potential, not V = mgh). Mathematically speaking, forces like gravity or the electrical attraction between charged particles are called "conservative forces", which basically means they have associated "potential functions". A conservative force is one for which the work required to move an object from point A to point B depends only on the straight-line distance between the two points. It doesn't depend on the path you choose to get from A to B.
Now, what underlies this mathematically is the concept of vector fields. The force of gravity and the electrostatic attraction between charged particles are examples of vector fields. A conservative vector field is one with an associated potential function (the vector field is the gradient of the potential function). If you perform a line integral between two points of a conservative vector field, the value of the integral depends only on the value of the potential function at the two points, not on the path between them, just like the Work done by a conservative force.
So, unless you have a different context for "potential function", gravitational potential is really just an example of a potential function and the gravitational force is really just an example of a vector field.