Child custody is a legal term that refers to the rights and responsibilities of parents or guardians in the care…