According to Dr Saumya, the hepatitis B vaccine works by stimulating the production of protective anti-HBs antibodies against the virus' surface antigen, leading to immune memory that prevents acute or chronic infection. This humoral response effectively lowers the risk of lifelong liver damage, cirrhosis and cancer when administered according to immunisation schedules.