Whilst genes are proven to be the method of inheritance there is some evidence that the parents experience can effect gene expression in off spring through epigenetic tags, environmental stressors add or remove regulatory chemical tags that change the expression of genes and these can be passed through sperm or eggs, effecting one or two generations (see https://www.newscientist.com/article/mg23030694-300-first-evidence-that-sperm-epigenetics-affect-the-next-generation/).
Some mice who’s parents were taught to fear a particular smell also showed fear of the scent without having a reason (no electric shocks whenever the smell was present) for two generations.
While genes would be the primary method of inheritance it would give the organism a way of passing an acquired response to a new stimulus directly to their offspring, that may at a latter date become hardwired into the genes.
That genetics gave rise to eugenics and the consequent Nazi experiments does not mean that it is any way discredited, that man can take good science and do bad things is surely a given. No need to throw the baby out with the bath water.
Stop confusing the discussion by posting facts!
Geneticists are finally realising that maybe that 97% "junk DNA" might not be "junk".
SCIENTIFIC AMERICAN
Hidden Treasures in Junk DNA
What was once known as junk DNA turns out to hold hidden treasures, says computational biologist Ewan Birney (https://www.scientificamerican.com/article/hidden-treasures-in-junk-dna/)
In my naive mind I picture it as the genes being the mechanism that makes the proteins needed to make an organism, and what used to be called "junk DNA", a "computer program" than instructs the genes when to do their stuff. ;) Maybe I'm just reflecting my engineer/computing background! ;)
I sure hope there aren't any genetic biologists around!