Original: Legislation can have many purposes: to regulate, to authorize, to proscribe, to provide (funds), to sanction, to grant, to declare or to restrict.
Simplified: The act of making legislation is sometimes known as legislating.