Complex sentence: They are forest dwellers and nocturnal, and feed on vegetation, but may take insects or carrion.
Split into simpler sentences: They are forest dwellers and nocturnal. They feed on vegetation, but may take insects or carrion.