Based on the limited facts provided by you, I believe that you are eligible for gratuity as you have worked for more than 4 years and 6 months for the company in question. However, you may not be eligible for gratuity if your company has not, at any point during your employment, employed more than 9 employees. Please note that as per section 1 (3) (b) of the Payment of Gratuity Act ("Act"), the Act will apply to every establishment in which ten or more persons are employed, or were employed, on any day of the preceding twelve months.
Other reasons for which you may be denied gratuity include termination for any act, willful omission, or negligence causing any damage or loss to, or destruction of, property belonging to the employer. However, your employer will have to prove the aforesaid before denying payment of gratuity to you.
In respect of PF, please note that prior to September 1, 2014, an employer was not required under the law to contribute the employer's contribution towards the PF in respect of employees earning more than INR 6500 per month. However, with effect from September 1, 2014, an employer is required to contribute the employer's contribution towards the PF in respect of all employees earning up to INR 15000. Having said that, it is important to note here that the Employees’ Provident Funds and Miscellaneous Provisions Act, 1952 does not apply to an organization that employs fewer than 20 employees.
In light of the above, kindly confirm if the company for which you worked employed the minimum applicable employees, i.e., 10 for gratuity and 20 for PF. If yes, I believe that you are entitled to gratuity and, to some extent, for the PF. In respect of PF, I will need more information about what your salary was during the last nine years prior to September 1, 2014. Did you at any point during your employment with this company receive less than INR 6500?
ESI generally applies to a factory. I assume that you are not employed in a factory, and therefore the ESI Act will not apply to you.
Regards.