Nutrient agar, a general-purpose medium, is primarily used for the cultivation and enumeration of various non-fastidious microorganisms, including bacteria and fungi, and for checking the purity of cultures before biochemical or serological testing.