The intestinal microenvironment shapes macrophage and dendritic cell identity and function.