a dentist uses thermal expansion in the filling of a material to a tooth since any material when exposed to heat expands in a certain degree depeding on the material. in this case, it is best that the material used for filling is more or less a ceramic one in which heat expansion is not that great to disturb the configuration of the teeth