Complex sentence: The buildings were surrounded by a wall with surveillance towers; it also had an irrigation system consisting of a dam and stoned lined ditches for watering the fields.
Split into simpler sentences: The buildings were surrounded by a wall with surveillance towers. There was also an irrigation system consisting of a dam and stone-lined ditches for watering the fields.