A certain red tomato has a mass of 45.6 g. A green tomato also has a mass of 45.6 g. However, when placed in water, the green tomato floats and the red one sinks. Which of the two is denser? Explain how two tomatoes with the same mass can have different densities.