What does main ingredient mean?

If you are making an apple pie, the recipe will ask you to add many different things - these things are the "ingredients". However the largest quantity ingredient will be the apples and this is the "main" ingredient.