( ( The ( same genes ) ) ( ( are ( involved ( in ( both ( solitary ( and ( social behaviors ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (DT The) (JJ same) (NNS genes)) (VP (VBP are) (VP (VBN involved) (PP (IN in) (NP (DT both) (JJ solitary) (CC and) (JJ social) (NNS behaviors))))) (. .)))
The same genes are involved in both solitary and social behaviors.
(ROOT (S (NP (NNP Animal) (NNS behaviors)) (VP (VBP are) (VP (VBN controlled) (PP (IN by) (NP (NP (DT both) (NNS genes) (CC and) (NNS experiences)) (PP (IN in) (NP (DT a) (VBN given) (NN envionment))))))) (. .)))