what is needed for the production of cooking oil in plants