Pineapple is a character from All Hail King Julien.
In Pineapple of my Eye, Masakura needs a break, but King Julien needs counsel to make good decisions. As a solution, Masakura grabs a pineapple from Wille, and tells the king that it has all the knowledge of the previous King Juliens. Masakura then leaves. King Julien nnames the pineapple Piney, and keeps Piney close for the rest of the day.