It is necessary to heat the unknown metal carbonate before dissolving it in water in a Gravimetric analysis in order to dry out the unknown substance. Heating will allow the excess water in the sample to evaporate and not be included in the analysis.