Grease is lighter than water, and a grease trap is a pause for that fact to matter: warm, greasy washwater slows, cools, and the fat floats to the top where it cannot clog the building drain or the municipal line.
Grease Trap Sizing Calculator estimates the interceptor capacity you need from sink volume, dishwasher flow and fixture load, using common kitchen-sizing methods.