Most important parts of what encodes us are:
- DNA - epigenetic markers on the DNA which modulate which parts of the DNA are active. You influence these and pass them on to your children (as men) and grandchildren (as women, as girls are born with all egg cells they'll ever have) - cell organelles which copy the DNA, ensure the cell has food and lives, etc. These tend to be independent cells that were at some point captured by our own cells. So they have their own genetic code. These you only inherit from your mother (dad gives half the DNA with epigenetic markers, mom the other half (also with markers) and everything else.
And of course much of what we are is shaped through gestation as well, I.e. the mother's body sends not just nutrients but also hormones etc that regulate gestation (and vice versa the child sends various messages to mom, up to even own cells in case of serious illness or accident or the mother).
Fascinating stuff.