If you are an employee, then usually all the intellectual property generated during your course of employment would belong to the organization or the company you are working for. If there has been no such agreement you can apply for the patent in your nam, but it is advisable to take a No Objection Certificate (NOC) from your employer or Institute if you have used the resources of your employer or institute to avoid any future disputes.