Rotten Flesh is an edible item associated with undead mob drops. It can restore hunger but carries a risk of the Hunger status effect. Other uses include feeding wolves and selling it to cleric villagers. It stacks to 64.
Zombies can drop rotten flesh when killed. Mojang's Bedrock zombie and drowned loot tables both include it as a possible drop; neither guarantees rotten flesh from every kill.
In Bedrock Edition, eating rotten flesh restores 4 hunger points. Its item definition gives an 80% chance of Hunger I for 30 seconds. The immediate restoration and the harmful effect are separate parts of consuming the item.
Rotten flesh can heal wolves, breed tamed wolves and advance the growth of pups. Bedrock breeding data specifically requires tamed adult wolves to be at full health.
Cleric villagers buy rotten flesh for emeralds. Mojang's Bedrock cleric table includes the item in its initial trade tier. This is a villager trade rather than an item crafting recipe; see Trading.
The item identifier is minecraft:rotten_flesh, including in Mojang's Bedrock item and loot definitions.
The numeric food restoration, effect probability and duration above refer to Bedrock Edition. Its poor saturation category is distinct from a numeric saturation value; these sample values do not establish Java nutrition.