BMR and TDEE
Basal metabolic rate (BMR) is the energy your body uses at complete rest to keep you alive: breathing, circulating blood, and maintaining cells. For most people it is the largest part of what they burn in a day.
Total daily energy expenditure (TDEE) adds movement on top. It is your BMR multiplied by an activity factor, from 1.2 for a mostly seated day to 1.9 for hard daily training or physical work. Eating about your TDEE keeps your weight stable.