Complex sentence: Being herbivores that sometimes lived in herds, they were more numerous than the saurischians, as they were prey for the theropods and were smaller than the sauropods.
Split into simpler sentences: Being herbivores that sometimes lived in herds, they were more numerous than the saurischians. They were prey animals for the theropods and were smaller than the sauropods.