how does the immune system protect the body from disease