Prosecutors decide whether or not to take legal action against the people police arrest and they decide what charges to file, directly impacting how much time a defendant potentially faces behind bars.