There is no uniform relationship that always exists between two
forms like those. Most of the time you need to learn the meaning
of each of the two as separate words. The gerund, of course, refers
typically to the state or activity suggested by the verb it comes
from. Related nouns may (or may not) refer to the result of such
activity, but they can refer to something more concrete or, in some
cases, to something more abstract. Be aware that some gerunds are
completely useless; only the noun is used. No one would ever talk
about
the resulting of something, for example. Only the noun form
the result would be used.
CJ