Dog or human, calories in minus calories burned = storage of fat if a surplus, or burning stored fat for energy for whatever is necessary