Which is the correct use of gerund?

Answer: 
Dancing is a good exercise.
Which is the correct use of gerund?