Carl Zimmer in his excellent blog, The Loom:
In the mid-2000s, David Markovitz, a scientist at the University of Michigan, and his colleagues took a look at the blood of people infected with HIV. Human immunodeficiency viruses kill their hosts by exhausting the immune system, allowing all sorts of pathogens to sweep into their host’s body. So it wasn’t a huge surprise for Markovitz and his colleagues to find other viruses in the blood of the HIV patients. What was surprising was where those other viruses had come from: from within the patients’ own DNA.
HIV belongs to a class of viruses called retroviruses. They all share three genes in common. One, called gag, gives rise to the inner shell where the virus’s genes are stored. Another, called env, makes knobs on the outer surface of the virus, that allow it to latch onto cells and invade them. And a third, called pol, makes an enzyme that inserts the virus’s genes into its host cell’s DNA.
It turns out that the human genome contains segments of DNA that match pol, env, and gag. Lots of them. Scientists have identified 100,000 pieces of retrovirus DNA in our genes, making up eight percent of the human genome. That’s a huge portion of our DNA when you consider that protein coding genes make up just over one percent of the genome.