The legislature, also known as the legislative branch, is responsible for creating, debating and enacting laws that govern society.