When a substance receives heat in any form the atoms inside the substance become more energized and need more space to move around in...thus expanding the cell walls. And in some cases if there's enough heat for a long enough period of time, it can cause a change in the state of the matter.