What is the illegal gain law?

Google: "Fruits of the poisonous tree" If the seed is bad, then the tree is bad, which makes the fruit bad. One bad thing will taint the whole situation.