A writ is a directive issued by the Supreme court or High courts.
Writs under the Constitution of India under Article 32.
Habeas Corpus – A court can order any officer of the Government or any private person to produce before itself any individuals to examine whether they have been legally detained or not.
Mandamus – A court can order any officer or any department of the Government to perform its duties.
Prohibition – A court can order a court lower than itself in the judicial structure not to hear a particular case on the grounds that the case does not fall within the jurisdiction of the latter.
Quo Warranto – The court can ask whether the holder of any public office or post is holding it in accordance with the law or not.
Certiorari – A higher court can order a court lower than itself in the judicial structure to send all the relevant documents pertaining to a case to itself.