What we spend calories for the day

It is believed that the surest way to lose weight is to consume less calories than the body consumes during the day. But if you are sitting in the office all day, a logical question arises: what does the energy actually do when there is no sport in the life?