How does the immune system work?