This API allows mods to create new types of Ingredients that you may use in Data Packs and similar features.
Modded ingredients can simplify complex logic, improve compatibility with other mods, and handle item matching completely different to vanilla.
A common example of this would be an Ingredient type that only accepts items with specific NBT tags.
Another example would be an Ingredient that only accepts furnace fuels that have a specific burn time range.