Homosexuality is thought to be the result of a genetic accident which occurs when a foetus or fetus is developing and growing in a woman's womb or uterus.