IPL means "public Interest litigation" which is a part of writ but have some difference.PIL only apply for a group of people or whole country but writ can be apply for recovery the violated fundamental rights of any person.PLI Can filed by anyone related to the matter of affected but Writ can only be submitted by relatives or legal representatives.