The answer is D. When heated, there is only physical process not chemical process. So the mass of the gas will not change. When heated, according to the thermal expansion, the volume will increase. And the mass is constant, so the density will decrease. Density=Mass/Volume.