The relationship between psychology and the law is that in the courtroom, some things that come up during the trial need to be explained by an expert, e.g. a forensic psychologist, so that the jury have insight and can make an informed decision about the defendant's verdict. This is a forensic psychologists job, as well as giving legal opinions and doing mental health checks.