State Senators serve in the state legislature, writing and voting on state laws covering education, healthcare, roads, and local taxes.
A primary decides which candidates advance to the general election. In most states each party picks its own nominee. In a few states, every candidate shares one primary ballot and the top finishers advance.