That's a really well put answer. When I first saw the question my mind went blank but that was a great response.
Law and psychology are two separate disciplines, but have much in common. While psychology's goal is to understand behavior and law's goal to regulate it, both fields make assumptions about what causes people to act the way they do. Many psychologists research how to improve the legal system.