Hepatitis B is a serious liver infection caused by the hepatitis B virus (HBV). It can become chronic, leading to liver failure, liver cancer, or cirrhosis—a condition that permanently scars the liver. The infection is transmitted through contact with infectious body fluids, such as blood, semen, and vaginal fluids.