Darunavir is an antiretroviral medication used primarily in the treatment of human immunodeficiency virus (HIV) infection. It belongs to a class of drugs known as protease inhibitors, which work by inhibiting the action of HIV-1 protease, an enzyme that the virus needs to replicate within the body.