Jan noticed that when she put a tomato in water, it sank. When she put an apple in water, it floated. Why did the tomato sink while the apple floated?