Based on family law, marriage is only valid if done by two people who love each other and agree to live together.
Family law also regulates child custody, where both parents have the same rights in raising their children.
In family law, inheritance of assets is carried out based on the law, unless if a will or agreement has been made to separate the previous assets.
Pregnancy outside of marriage is considered a violation of the law and can lead to legal consequences for both parties.
Divorce can be done based on several reasons, including disputes that cannot be resolved, infidelity, or domestic violence.
In some cases, the judge can decide to give child custody to one of the parents or even other parties, such as grandparents or siblings.
Family law also regulates similar marriages, which in several countries are allowed, but in other countries it is still considered a violation of the law.
In some cases, family law can also protect children from irresponsible parents or even domestic violence.
In the case of divorce, family law can decide about the distribution of joint assets, such as houses, cars, or investments.
Family law can also provide protection for parents who have children with special needs or disabilities, by providing special rights and legal protection.