Camels can feed on the roughest parts of scarce vegetation, and can eat thorny plants, shrubs, leaves and hay that other animals don't eat, but they'll gladly take better food if it's available. For example, the wealthy United Arab Emirates requires that a camel's diet must consist of barley, oats, wheat, soybeans, peas, soybean oil, and vegetables Camels like to eat leaves, hay, and salt. Because it often travels long distances, hay is digested slowly. Camels like to feed on plants with thorns, hairs, strong odors, and heavy salinity that other domestic animals do not want to feed on; white thorns and tarragon are camel delicacies.
In short, the camel is an herbivore, and it eats the foods above, as well as some other plants.