Density is a measure of how much mass is contained in a given amount of space (volume).
Aluminum in general has a higher density than water and it sinks in it.
But in the case of hollow aluminum, the density ( mass present per unit volume) is greatly decreased even below that of water since the majority of the object's volume is filled with air, so it floats.