To satisfy those linking from hydrochloric acid:

M is a unit in chemistry called molarity.  Molarity means moles of a solute per liter of a solvent.

So 5 liters of a .5 M glucose aqueous (water is the solvent) solution will contain 2.5 moles of glucose molecules.
5 L * .5 M = 2.5 mol