the simplest example (and the simplest way to describe it) is dtheta, the angle form about the orign.
here is an answer to the same question from another thread. (if they post multiple questions, i hope i may be forgiven for posting multiple answers.)
there is a special class of integrals, i.e. differential forms, that DO give the same integral over any path joining the same two points. these are called "exact" differentials, and are precisely those of form df for some function in that region, i.e. a gradient.
another related concept is of a "closed" differential, one such that its curl is zero. these are in fact the same as the exact differentials in any "simply connected" region.
thus to measure how far a region is from being simply connected, one can ask how many closed differentials in it fail to be exact.
for example, if we remove n points from the plane, there will still be exactly an n dimensional vector space of closed forms in that region, after we consider all exact forms to be zero.
\this measuring device is a big tool in topology called derham cohomology.
work done by gravity for example is exact so does not depend on the path taken by the object.