A person's genes contain all the traits which they inherit from their parents.
(A person's genes; contain; all the traits which they inherit from their parents) (all the traits; inherit; from their parents)
A person's genes all the traits
contain inherit
all the traits which they inherit from their parents
from their parents