An organism whose diet consists mainly of vegetable matter.