From the Super Mario Wiki
A Pink Apple is an item in Super Paper Mario. Found on a tree in Overthere Stair, it restores five HP and cures poison. If the player tries feeding Peach this apple, she gets transformed into a Peachy Peach. A few seconds later, she transforms back into herself.