Complex sentence: They forage on the forest floor, mainly eating insects and berries.
Split into simpler sentences: They forage on the forest floor. They mainly eat insects and berries.