The ability to tell the difference between self and nonself (what's you and what's foreign) is one of the main responsibilities of the immune system. Flawed immune systems can't tell the difference between foreign invaders and the body's own components. When this happens, the body makes autoantibodies that attack normal cells by mistake. The result is a misguided attack on your own body.