what is legislation and constitution ?