how do animals use the food produced by plants