When a solid substance disappears completely as a gas on heating, the substance is said…