It is done to investigate frequent infections that may point to a weak immune system, look into certain liver, gut, or immune conditions, help assess raised or low antibody levels found on other tests, and check IgA before some other tests, since very low IgA can affect their accuracy.