In many cases, DNA viruses utilize cellular enzymes for synthesis of their DNA genomes and mRNAs; all viruses utilize normal cellular ribosomes, tRNAs, and translation factors for synthesis of their proteins.
During the early days of the Earths life there was no oxygen but there was plenty of CO2 which the autotrophs took and used as food while discarding the excess which was the oxygen.