Spatial queries are specialized queries used in geographic information systems (GIS) and spatial databases to retrieve data based on spatial relationships and properties. They enable operations such as finding the nearest neighbor, identifying points within a polygon, and calculating distances between geometric entities.