What is the role of the judiciary in upholding the principles of polity in India

This question focuses on the importance and functions of the judiciary in maintaining the principles of polity in India.