Molar volume at STP can be used to convert from moles to gas volume and from gas volume to moles. The equality of 1mol=22.4L is the basis for the conversion factor.
Hope this helps!