"Replacing the noun with a gerund" means changing a noun (often a noun made from a verb, called a nominalization) back into a gerund — which is a verb form ending in -ing that acts like a noun.
This can make sentences more active, clear, and natural.