Life can be measured in hours-Riddle

Riddle

Mehul and Riya were standing in line at the bank, when Riya asks Mehul, My life can be measured in hours, I serve by being devoured. Thin, I am quick. Fat, I am slow. Wind is my foe. What am I?

    A candle!