Complex sentence: It breeds mainly in the mountains, but also at lower altitudes, especially in rocky areas and around towns, and, unlike most swallows, it is often found far from water.
Split into simpler sentences: It breeds mainly in the mountains, but also at lower altitudes, especially in rocky areas and around towns. Unlike most swallows, it is often found far from water.