How Your Immune System Works : The Basics...The job of our immune system is to defend the body from invasion by foreign substances or organisms, such as bacteria or viruses. Think of the redness and swelling you...