Foundations of the Immune System