This test looks for antibodies called IgM in your blood. The test is used to find out whether you are actively infected with the hepatitis B virus.