Using RT-PCR to Diagnose COVID-19

When using RT-PCR, what biological macromolecule is used to confirm COVID-19 in a patient? What is the source of this biological macromolecule? What is the preferred method of collecting the initial patient sample for diagnostic COVID-19 testing? Sample...