An old riddle, but still a good one:

First, you discard my outside
And cook my inside.
Then, you eat my outside
and discard my inside.

What am I?

HERE is the answer.

ANSWER: an ear of corn