Question: what is the relation between density and heat?
Answer: Heating a substance causes molecules to speed up and spread slightly further apart, occupying a larger volume that results in a decrease in density. Cooling a substance causes molecules to slow down and get slightly closer together, occupying a smaller volume that results in an increase in density.