DNA is composed of nitrogenous bases each combined together with hydrogen bond and it's easy to broken by heat so when the temprature increase this bond broken and two strands separated after temprature return to be normal the two strands combine together and forming the helix of DNA.
DNA is not a protein.