The regulation of the immune system.