Vivofit

hi
Ok so today Yesterday I bought a vivid it...
And I've watched a couple tutorials however I do not understand the calories aspect of it...
What are the resting calories?
Active calories? And the ones with the little flame under them? I'm so lost..
Any help would be great!! Thank you!!