Okay, let's say you want to play with your toys, but your mom says you have to clean your room first. The rule is that you can only play with your toys after your room is clean.
Similarly, there was a rule in Canada that said if a person was caught with drugs, they could get in trouble and go to jail. But sometimes, people argued that this rule was not fair because it targeted certain groups more than others.
One day, a man named David Oakes was caught with hashish (a drug). He argued that the rule was unfair and went against the Canadian Charter of Rights and Freedoms, which is like the rules that the grown-ups made for Canada.
The case was brought to court, and the judges had to decide whether the rule was fair or not. The judges looked at the rule and tried to figure out if it was allowed under the Charter (like your mom's rule about cleaning your room) or if it went against the Charter (like if your mom said you couldn't play with toys because of the color of your skin).
In the end, the judges decided that the rule against having drugs was going against the Charter because it unfairly targeted certain groups. But they also said that sometimes rules that go against the Charter could still be allowed if they were important for the safety and well-being of everyone (like if your mom said you couldn't play with an unsafe toy).
So, the R. v. Oakes case was important because it helped to decide how to balance the rules with the rights of people in Canada. It also made it clear that even if a rule goes against the Charter, it can still be allowed as long as it is necessary and fair for everyone.