Any substance that is recognised by the body as foreign or dangerous and causes the production of antibodies.