How does law shape society?