An ingredient is something that is part of a food dish.
The main ingredients in cake are eggs, sugar, and flour.
Example picture