when it is dead we clap our hands

Riddle
When it is alive we sing, when it is dead we clap our hands. What is it?

    A birthday candle.