A gratuity is a one‑time lump‑sum payment granted in recognition of years of public service.
A pension is a monthly payment for life, also granted for public service.
It depends on your personal financial plan. If you need a lump sum to clear debt or invest, a gratuity may fit. If you prefer long‑term stable income, a pension is usually better.