In which sentence is the word swimming a gerund?

The children were swimming in the shallow end of the pool.

Swimming is great cardiovascular exercise.

The swimming team members warmed up before the meet.

The word "swimming" is a gerund in the sentence: "Swimming is great cardiovascular exercise."