What molecules induce immune responses? What properties are necessary for

What molecules induce immune responses? What properties are necessary for a molecule to induce an immune response?