Verbs cannot generally be modified by adjectives and nouns cannot generally be modified by adverbs. So, in "Running regularly is good for you", "running" is a verb because it is modified by "regularly", an adverb.