Chemical entity or part of a foreign protein which can stimulate an immune response or be bound by an antibody