Explain the concept of molarity and how it is calculated.
Molarity is a measure of the concentration of a solute in a solution, expressed as moles of solute per liter of solution (mol/L). It is calculated using the formula: Molarity (M) = moles of solute / liters of solution.