what gets hot and cold faster, solid or gas and why?

For a given volume, gas gets hot or cold faster, because there is less of it to heat or cool. (The heat capacity is lower than that of a solid or liquid).