Legal custody gives a parent the right to make medical decisions for a child, and when parents share this responsibility, they must agree on treatments. If they can’t, courts may step in to resolve the disagreement based on the child’s best interests.