Tenofovir is a nucleotide reverse transcriptase inhibitor (NtRTI) used in the treatment and prevention of viral infections, particularly HIV and hepatitis B. It works by interfering with the reverse transcription process, which is crucial for the replication of these viruses within host cells.