In grammar a gerund is the -ing form of a verb that functions as a noun.
Here's an example
There's a ghost that haunts the abandoned building.
In this sentence the verb form building acts as a noun.
The sorcerer had mighty powers but terrible spelling
Here the verb form spelling acts as a noun in the sentence.