Legislation is the process of a governing body enacting laws, often in the form of…