A pineapple is not one, but thousands of individual berries, connected into a single unit not unlike a corn cob. The "eyes" are simply the remains of each berry's sexual organs.
Didn't find the answer you were looking for?