[noncount]:the process or result of using laws to fairly judge and punish crimes and criminals

They received justice in court.

the justice system

the U.S. Department of Justice

criminals attempting to escape justice

The role of the courts is to dispense justice fairly to everyone.

Many people do not believe that justice has been served/done in his case. [=that he has been given proper punishment or fair treatment by the legal system]

His supporters claim that he is an innocent man and that his conviction was a miscarriage of justice. [=an error made in a court of law that results in an innocent person being punished or a guilty person being freed]