On heating, candle wax melts, then turns into vapour which reacts with air to produce two new substances, carbondioxide and water.
Therefore a candle on burning becomes smaller and smaller and the part of wax which has undergone chemical change cannot be recovered.