Which action best demonstrates the transformation of mechanical energy to heat energy?

A. digesting a meal
B. burning a candle
C. rubbing hands vigorously
D. melting a piece of ice in sunlight