What role does the immune system play in preventing disease?

What role does the immune system play in preventing disease? Give specific examples for the first, second and third lines of defense. 200-250 WORDS