Basically, all good gives you hunger and saturation. Saturation decreases as you perform actions, and when it reaches 0, you will start to lose hunger points. The hunger bar will also shake.
It's hidden, but basicly all food gives you different saturation and saturation will take food points for you, when you run out it starts taking it hunger points from you.