What role does the judiciary play in upholding democratic values in India?

Examine the significance of the judiciary in safeguarding democratic principles and rights in the Indian political system.