Food fact
Apples float because about a quarter of an apple is air.
The details
The spaces between the cells of an apple are filled with air, which makes the fruit less dense than water. That is why apple bobbing works.
Source: Apple (Wikipedia)
Think this is wrong? Tell us and we will check it.