Democracy plays a very important role in the development of  a country. The democracy keeps the country misfits in the fear of law and order. (although there are crimes! :P) Without a democracy which provides human rights like right to education, right to change of religion etc, a country wont make any worthy progress....
Judiciary is an independent body of the government which is not under any direct control of the govt or the parliament thus it is necessary for the smooth functioning of the it can take decisons without any bias and there is a place where the commonman can go for help.