Hi Priyanka,
It is illegal to terminate an employee based on pregnancy. This is typically protected under laws related to pregnancy discrimination or maternity leave. However, specific laws and protections can vary depending on your location.
You should consult with a legal professional who is familiar with the labor laws in your jurisdiction. They will be able to provide you with advice and guidance based on the specific details of your situation.
Keep in mind that it's important to document any interactions or communications related to your termination, as this could be useful if you decide to pursue legal action. Additionally, you may want to consider seeking advice from a local employment rights organization or union, if applicable. This information is not legal advice, and it's always best to consult with a qualified legal professional for advice tailored to your specific circumstances.
Thanks