This is a question that occurred to me years ago when I was first learning algebraic topology. I've since learned that it's a somewhat aesthetically displeasing question, but I'm still curious about the answer.

Is it possible for a subset of $\mathbb R^2$ to have a nontrivial singular homology group $H_2$? What about a nontrivial homotopy group $\pi_2$?