So, what is the exclusionary rule, and how does it apply to your case? The exclusionary rule is a court-driven rule that takes effect when evidence in a criminal case is unlawfully obtained. In your case, a court might use the exclusionary rule if the illegally obtained evidence helped the officers get other pieces of evidence they would not have found otherwise.
The secondary evidence subject to the exclusionary rule is referred to as the fruit of the poisonous tree doctrine. The exclusionary rule borrows its reasoning from constitutional rights. So, it applies to criminal cases as a deterrent and remedy rather than a standalone constitutional right.