Discuss the role of the judiciary in upholding the principles of democracy and rule of law in India.

Analyze how the judiciary contributes to maintaining democratic values and legal norms in the nation.