Density of a gas increases when its:

Temperature increases

Pressure increases

None of these

Volume is kept constant