The deer eat grass. Its droppings, which eventually decompose into the ground, provide minerals and vitamins to the plant roots. This food is vital for it so the plant remains alive and can produce oxygen which is essential for the deer and grass is also a food source for him too.
Like all other heterotrophs, it eats and goes through cellular respiration.