In cartography, overlay refers to the process of superimposing multiple map layers to analyze spatial relationships between different datasets. It allows for the integration and comparison of various geographic features, enhancing spatial analysis and decision-making.