A bonus is a contractual or policy-driven additional compensation provided to employees based on predetermined criteria, such as performance or goals. It is part of the regular compensation structure. On the other hand, ex gratia payments are discretionary and voluntary gestures made by the employer out of goodwill. It is done without any legal obligation or prior agreement.