In DNA , thymine ( T ) connects to adenine ( A ) by two hydrogen bonds to help with making the nucleic acid stay strong . In DNA , thymine ( T ) binds to adenine ( A ) via two hydrogen bonds , thus stabilizing the nucleic acid structures .