errors of the immune system may cause damage. in autoimmune diseases, the body attacks parts of itself because the system mistakes some parts of the body as 'foreign'. some kinds of arthritis are caused this way.