Originally meant army rations issued by the imperial court. Today the fixed phrase
吃皇粮 (chi huangliang, 'to eat imperial grain') is colloquial for being on the government payroll - civil servants, state-owned enterprise staff, public school teachers. Carries a hint of envy or sarcasm depending on context.