What is the role of reverse transcriptase in HIV infection?

What is the role of reverse transcriptase in HIV infection?