In Forest of Illusion 3, right before the goal, there is a green pipe near some charginchucks that you need to enter, and inside there is a key and keyhole. You need to spin jump to get the key, so don't be little Mario. Also, I got this information from
www.gamefaqs.com, which is a website that provides information for non-Mario-related games too.
“You never really understand a person until you consider things from his point of view.†-Atticus Finch