What type of defect will arise when a solid is heated? Which physical property is affected by it and in what way?

On heating a solid, vacancy defect arises. As a result of this defect, the density of the substance decreases