Answer:
legislation can have many purposes: to regulate, authorize, prohibit, sanction, grant, declare or restrict
it can be contrasted with a non-legislative act issued by an executive or administrative body under the authority of a legislative act.