Which of the following sentences includes the use of a gerund?

The dog’s favorite activity is barking.
The cat was chasing a mouse through the house.
The horse was galloping down the road.
The cow was chewing on the fresh hay.

What is the gerund?