Rejection occurs when the immune system identifies nanomaterials as foreign bodies and mounts a defense against them. This can be triggered by several factors including the chemical composition, size, shape, and surface characteristics of the nanoparticles. The immune system may recognize the surface proteins or functional groups on the nanomaterials as antigens, leading to an immune response.