Complex sentence: These were lending institutions intended to help to poor farmers when farm production decreased, giving credit, lending seeds and commodities to the needy, allowing them to pay back with farm products when they recovered from losses.
Split into simpler sentences: These were lending institutions intended to help to poor farmers when farm production decreased, giving credit, lending seeds and commodities to the needy. They were allowed to pay back their debts with farm products when they recovered from losses.