Humoral immunity is due to the presence of either immunoglobulin G (IgG) or IgM in the bloodstream.