Thick paste of sugar and water, used for making sweets or icing cakes (7)
I believe the answer is:
fondant
(Other definitions for fondant that I've seen before include "Sugary paste for sweets" , "Thick sugar paste used for icing cakes" , "Soft sweet" , "Sweet paste of sugar, water, and flavouring" , "Thick creamy sugar paste" .)