Paternity refers to a legal action to establish that a man is the father of a child. A paternity action may be brought in order to impose a child support obligation, establish a right to inheritance, secure consent for the child's adoption, or gain or prohibit custody or visitation rights.