Legal gender equality refers to the equal treatment of individuals regardless of their gender under the law, ensuring that men and women have the same legal rights, opportunities, and protections. This concept is crucial in shaping family structures and gender roles, as it influences legislation related to marriage, divorce, inheritance, and parental rights, ultimately promoting a more balanced and equitable society.