Question: what is the purpose of the doctrine of precedent?
Answer: The doctrine of precedent refers that the legal decisions made by judges in higher courts are remained as a precedent, so the decisions made by lower or equal courts in future are needed to be followed the earlier decision made in the higher courts.