Landscape's spatial structure has vast implications for the dynamics and distribution of species populations and ecological communities. However, the characterization of the structure of spatial networks has not received nearly as much attention as networks of species interactions counterparts. Recent experiments show the dynamical implications of modularity to buffer perturbations, and theory shows that several other processes might be impacted if spatial networks were modular, from disease transmission to gene flow. Yet the question is, are spatial networks actually modular? Even though some case studies have found modular structures, we lack a general answer to that question. Here, I show that modularity is a naturally emergent property of spatial networks. This finding is further reinforced by analyzing real patchy habitats. Furthermore, I show that there is no need for any other biological process other than dispersal in order to generate a significantly modular spatial network. Modularity is explained by the spatial heterogeneity in the density of habitat fragments. The fact that spatial networks are intrinsically modular might have direct consequences for population and evolutionary dynamics. Modules define the spatial limits of populations and the role each habitat fragment plays in ecological dynamics; they become the relevant scale at which a multitude of processes occur.