Sydney: A great piece of news for healthy kids. Next time your mother nags you to eat fruits and vegetables to keep a check on your weight; you can brush her side as it could have been heraction that helped you to prefer junk food, reveals a study.

Pregnant and breastfeeding women who love eating oodles of fatty and sugary foods will have to put a check on their eating habits because, according to a  study, the high fat and high sugar diet leads to changes in the foetal brain's reward pathway, altering food preferences.

Not only does this offer an insight into the ever-increasing rate of human obesity, it may also explain why some people easily resist fatty and sugary foods, while others seem hopelessly addicted.

"These results will help us to convince women about diet during pregnancy and breastfeeding for giving their infants the best start in life," said Beverly Muhlhausler, study co-author from the University of Adelaide.

Muhlhausler and colleagues studied two groups of rats for their results.

Muhlhausler and colleagues studied two groups of rats, which during pregnancy and lactation were either fed standard "rat chow" or a junk food diet made up of a selection of common human foods high in fat and high in sugar.

After the baby mice were weaned, the pups from both groups were allowed to select their own diets from either the same range of junk food or the standard rat chow, according to a University of Adelaide statement.

Brains from some of the pups also were collected at different times after birth and measured for the levels of the "feel good" chemicals (dopamine and opioids) and receptors that these chemicals act upon.

The scientists found that the group of rats whose mothers had eaten the junk food diet had higher levels of the receptor for opioids after they were weaned.

This group also chose to eat more of the fatty foods as compared to the pups whose mothers ate the standard rat chow.

This suggests that infants whose mothers eat excessive amounts of high fat, high sugar junk foods when pregnant or breastfeeding are likely to have a greater preference for these foods later in life.