A girl in a costume is performing a dance as other girls in costumes watch.
A girl is dancing.
A girl performing a dance is dancing.
If she is performing a dance, she is dancing.
Dancing also a kind of performing.