The court steps into the matter of the child when a couple applies for a divorce. By keeping all the…