European Union law is a body of treaties and legislation, such as Regulations and Directives, which have direct effect or indirect effect on the laws of European Union member states. The main sources of primary law are the Treaties establishing the European Union. Secondary sources include regulations and directives which are based on the Treaties. The legislature of the European Union is principally composed of the European Parliament and the Council of the European Union, which under the Treaties may establish secondary law to pursue the objective set out in the Treaties. European Union law is applied by the courts of member states and where the laws of member states provide for lesser rights European Union law can be enforced by the courts of member states. The Court of Justice of the European Union is the highest court able to interpret European Union law.