When a hepatitis virus gets into the bloodstream and attacks liver cells, the body's immune system responds to fight it. Temporary inflammation is part of this response. But if inflammation persists for months or years, it can damage or even destroy liver cells.