A protein made by the immune system to fight infection.