In a supermarket, there is an intelligent glass pane before a refrigerating unit. This glass pane allows cherries and apples through it but does not allow grapes and Orange to pass through it.
Can you identify the rule that the glass pane is following?
I am green and found in the forest and have needles instead of leaves. What am I?
Hint 1: It can be used for Christmas decorations.
Hint 2: I have a strong, scent that is used in air fresheners.