Lawmakers guide the state in spending more than $27 billion a year to operate a variety of agencies and programs that oversee agriculture, the environment, Medicaid and prisons, among other programs, while spending billions more for the construction of roads, schools, universities and other infrastructure.