Every time water drains from your sinks, pots, and dishwasher, it enters the trap as a warm mixture of grease, food particles, and water. Inside the trap those three materials separate by density:
• Top layer — FOG (Fats, Oils, Grease): Grease is lighter than water, so it rises and stays near the surface. As it cools it solidifies into a semi-solid cap.
• Middle layer — Effluent water: The relatively clean water in the middle slowly passes through and continues to the sewer outlet.
• Bottom layer — Food solids: Heavier particles — rice, meat scraps, breading — sink and accumulate as a sludge layer on the floor of the trap.
Between the two main compartments sits a baffle wall (a divider with an opening below the waterline). Water has to travel under the baffle to exit, which forces it away from the grease cap on top.