QCD thermodynamics on the lattice and in the Hadron Resonance Gas model