In this article, Luigina Romani describes the immune mechanisms that have evolved to recognize and respond to fungi. She explains how the failure of either pro-inflammatory or tolerogenic immune responses can lead to the development of fungal diseases.