With rapid urbanization, the urban heat island (UHI) effect has intensified, posing challenges to human health and ecosystems. This study explores the impact of sunlight exposure areas of artificial structures and human activities on land surface temperature (LST) in Hefei and Xuzhou, using Landsat 9 data, Google imagery, nighttime light data, and Point of Interest (POI) data. Building shadow distributions and urban road surface areas were derived, and geospatial analysis methods were applied to assess their impact on LST. The results indicate that the sunlight exposure areas of roofs and roads are the primary factors affecting LST, with a more pronounced effect in Xuzhou, while anthropogenic heat plays a more prominent role in Hefei. The influence of sunlight exposure on building facades is relatively weak, and population density shows a limited impact on LST. The geographical detector model reveals that interactions between roof and road sunlight exposure and anthropogenic heat are key drivers of LST increases. Based on these findings, urban planning should focus on optimizing building layouts and heights, enhancing greening on roofs and roads, and reducing the sunlight exposure areas of artificial structures. Additionally, strategically utilizing building shadows and minimizing anthropogenic heat emissions can help lower local temperatures and improve the urban thermal environment.