What does Precedent Mean?

A precedent means that something has come before it and sets the example. A lot of times this is used in court cases as an example or deterrent to try to prevent people from committing the same crimes that they have done in the past.