As more and more heat is added, the molecules move faster and faster, causing the structure of the molecules to loosen. As the structure loosens, more movement is allowed. You see this in the form of solid ice turning to liquid water, or what we know as melting.