Tenofovir is an antiviral medication widely used in the treatment of HIV and chronic hepatitis B. It belongs to the class of drugs known as nucleotide reverse transcriptase inhibitors (NRTIs), which work by inhibiting the replication of viral DNA. By doing so, Tenofovir helps in reducing the viral load in the body, thus improving the immune function of the patients.