Cookie

Cookies are food items that can be obtained in large quantities, but do not restore hunger or saturation significantly.

Trading
Journeyman-level farmer villagers sell 18 cookies for 3 emeralds as part of their trades.

Food
Cookies can be eaten to restore and 0.4 saturation.

Parrots
Feeding a cookie to a parrot kills the parrot instantly, and causes it to give off Poison particles as it dies due to chocolate being toxic to parrots. $$, feeding a cookie to a parrot inflicts the parrot with fatal poison for 1,000 seconds.

Composting
Placing a cookie into a composter has an 85% chance of raising the compost level by 1.