"the tree that gives people the ability to understand both good and evil" or "the tree that makes people who eat its fruit able to know good things and bad things"
This is a figure of speech that refers to both extremes and everything in between. Alternate translation: "everything, including both good and evil" (See: [[rc://en/ta/man/translate/figs-merism]])