Forensic psychology bridges psychology and the legal system, focusing on understanding human behavior in criminal and civil contexts. It involves assessing offenders, victims, and witnesses, providing expert testimony, and aiding in criminal investigations. Professionals analyze mental states, risk factors, and competency for trial. They also assist in offender rehabilitation and crime prevention. By applying psychological principles to law, forensic psychology contributes to justice, public safety, and informed decision-making in legal proceedings.