Niyoga
Niyoga is an ancient practice in Hindu culture that allows a woman to conceive a child with a man who is not her husband, typically when her husband is unable to father children due to illness or other reasons. This practice is mentioned in various ancient texts, including the Mahabharata, and is rooted in the desire to continue a family lineage.
The concept of Niyoga emphasizes the importance of offspring and family continuity in traditional societies. It was often conducted with the consent of all parties involved, ensuring that the child would be recognized and cared for within the family structure.