The United Kingdom has historically played a leading role in developing parliamentary democracy and in advancing literature and science .