Democratic Deficit

What is the role of the European Parliament in the institutional balance of the European Union? How has it developed since the inception of the Community/Union and how might it develop in the future?