When double-stranded DNA is heated to 100°C, the two strands separate because the hydrogen bonds between the strands break. When the solution is cooled, the two strands can find each other to re-form the double helix, a process called renaturation or reannealing. For example, consider the following DNA double helix:
5' - GCGCGCGCGCGCGC - 3'
3' - CGCGCGCGCGCGCG - 5'
Now, imagine that this DNA is heated to 100°C and then cooled, but the two separated strands never find each other. The local secondary structure of each single strand might assume the shape of a hairpin loop.