Someone who commits a crime may end up in court.