A gerund is a verb ending in -ing that functions as a noun in a sentence, naming an activity, idea, or experience. It can act as the subject, object, subject complement, or object of a preposition.