What does Density mean in a planning context?

In the case of residential development, a measurement of either the number of habitable rooms per hectare or the number of dwellings per hectare.