More than production, it is marketing the products" is the problem in farming. Farmers are not organized in most of the countries, hence agents kill them. Agents earn more than farmers just by forwarding farmer's products to other agents!
Big subject, limited answer.