Sustainable farming: How technology can optimize food production