judges give a sentance (or punishment) to a criminal to serve justice