When someone is arrested for a suspected crime, they are taken to a court of law to determine if they are guilty or not guilty. Courts aim to provide justice when people disagree, with a judge or magistrate ensuring a fair trial and appropriate punishment if guilty. There are different levels of courts - sessions courts for minor issues, high courts for important provincial matters, and the supreme court in Islamabad as the highest court to handle the most serious cases across the country.