TFIIH consists of several subunits that facilitate its dual role. In transcription, TFIIH unwinds the DNA helix to allow RNA polymerase II to transcribe DNA into RNA. In DNA repair, TFIIH helps recognize and excise damaged DNA segments and subsequently assists in synthesizing the correct DNA sequence.