The immune system must maintain a delicate balance to defend against harmful threats while avoiding excessive inflammation.