An apple restores a hit point, otherwise boosts the player's score if hit points are maxed out. A banana boosts the player's score.
An apple either restores hit points or increases the score when health is full, whereas a banana only boosts the score.