It is a combination of ledipasvir and sofosbuvir and is used to treat chronic (long-lasting) hepatitis C, a viral infection of the liver. It may sometimes be used with another antiviral medication (ribavirin).