Legislators work together as part of a governing body to propose, debate, and vote on laws and policies.
Executives can sign laws into effect (or veto them) and are responsible for carrying out and enforcing those laws by issuing regulations via executive branch agencies.
Judges interpret and apply the law. In other words, they decide how laws impact real life disputes. Judges also review whether laws and government actions follow the state constitution.