Density/Specific Gravity sensing

Hmm... I'm curious, how does the capacitance sensor measure density? Would it work in the air?

-Z-