Why a room below the surface (such as basements) can stay cold all the time? How is it able to avoid the high increase of temperature and heat in hot days and periods?
Dirt is an exceptionally good insulator. As seasons change, the temperature of dirt 5-10ft underground changes a lot less than the temperature of the air. The deeper you go, the less the change. So, in the summer a basement will be "cool" because the ground surrounding it is cool (relative to outside temperatures), and in the winter it will be "warm" because the ground surrounding it is warm (relative to outside temperatures), despite "cool" and "warm" both being the same temperature (probably about 50-60F if you're in the southern USA).