If you always wondered where your child got their smart genes from, wonder no more as scientists have found the answer. According to a recent study, children get their intelligence genes from their mothers.

This is due to the fact that women have two X chromosomes which carry the intelligence genes, the Independent reports.  Because women have two X chromosomes, they are able to transmit their intelligence genes to their kids.

But intelligence is not only hereditary, the environment a child grows in also plays an important part in how smart a child becomes.

READ MORE: How to raise a smart child

A study published earlier this year found that there was a relationship between a child’s brain development and having a nurturing mother.

“We can now say with confidence that the psychosocial environment has a material impact on the way the human brain develops,” Dr Joan Luby, the study’s lead researcher and a psychiatrist at the Washington University School of Medicine was quoted saying by Live Science. “It puts a very strong wind behind the sail of the idea that early nurturing of children positively affects their development.”

Not only did the study find that children who grow up in a nurturing environment were good at problem-solving and were smarter, but the study also found that they were more emotionally developed than kids who did not have nurturing mothers.

“It’s now clear that a caregiver’s nurturing is not only good for the development of the child, but it actually physically changes the brain,” Luby said.

READ MORE: Teach your kids about money management with new app

In a previous interview with DESTINY, Professor Eric Atmore of the Department of Social Development at the University of Cape Town and director of the Centre for Early Childhood Development in Cape Town said that early childhood development was also one of the ways to ensure that parents nurture a child’s development.

“International research tells us that children who have quality early childhood learning opportunities do better at school, are less likely to need costly remedial education, are less likely to do crime and substance abuse, and are more likely to get a job.”

-Independent, Live Science