Legal systems can be broadly divided into two main types: common law and civil law. Most countries in the world use one of these systems, although many countries in the Middle East and North Africa have religious law. Some other countries usually in the developing world- have a system of customary law, which is based on patterns of behaviour in a particular social setting or community. There are also mixed systems in operation, but these are not widespread. Common law is defined as a legal system which is based on a tradition of previous judgments, or ’cases’. In this system judges base their judgements on ’like cases’ which are very similar to the one before them. This is why another term, case law, actually means the same as common law. In countries with civil law systems, judgements are made with reference to codes and statutes rather than previous cases. Civil law systems are more structured and rely on comprehensive legal codes that outline all matters that can be brought before a court. In contrast, common law evolves over time through judicial decisions, allowing for greater flexibility in interpretation.