Our understanding of the function of dendrites has been greatly enriched by an inspiring dialogue between theory and experiments. Rather than functionally ignoring dendrites, representing neurons as single summing points, we have realized that dendrites are electrically and chemically distributed nonlinear units and that this has important consequences for interpreting experimental data and for the role of neurons in information processing. Here, we examine the route to unraveling some of the enigmas of dendrites and highlight the main insights that have been gained. Future directions are discussed that will enable theory and models to keep shedding light on dendrites, where the most fundamental input-output adaptive processes take place.