Heating and cooling chamber