The immune system is not just a ‘shield’ against infections.