Hepatitis B is a viral infection that affects the liver and is transmitted through blood or body fluids. It can range from acute infection to chronic disease and may lead to serious liver complications if untreated.