Blood and immune system

How does our immune system work? What is blood made of? How is the body supplied and how does it manage to repair itself time and again?