Complex sentence: The trees are badly managed but very productive and serve as a source of income and food for many villagers, for example the coconuts are used for cooking or making oil.
Split into simpler sentences: The trees are badly managed but very productive and serve as a source of income and food for many villagers. The coconuts are used for cooking or making oil.