Complex sentence: Leopards have a very varied diet which includes insects, rodents, reptiles, and even large mammals, and will occasionally take domestic livestock when other food is scarce.
Split into simpler sentences: Leopards have a very varied diet which includes insects, rodents, reptiles, even large mammals. They sometimes take domestic livestock when other food is scarce.