Answer:
They decide whether a person committed a crime and what the punishment should be. They also provide a peaceful way to decide private disputes that people can't resolve themselves. Depending on the dispute or crime, some cases end up in the federal courts and some end up in state courts.