A protein produced by the immune system in response to an antigen, helping to neutralize harmful substances and create immunity against specific pathogens.