Hepatitis B is irritation and swelling (inflammation) of the liver due to infection with the hepatitis B virus (HBV).Other types of viral hepatitis include hepatitis A, hepatitis C, and hepatitis D.