Atovaquone is a medication used primarily to treat and prevent Pneumocystis pneumonia (PCP), a serious infection often seen in immunocompromised patients, such as those with HIV. It is also used to treat malaria and babesiosis. Structurally, atovaquone is a hydroxy-1,4-naphthoquinone derivative, which targets the mitochondrial electron transport chain in the parasites.