The correct description of a gerund and how it functions in a sentence is:
"A gerund is a verb ending in -ing that functions as a noun in a sentence."
Gerunds are formed from verbs but act as nouns in various roles within a sentence, such as subjects, direct objects, or object of prepositions.