The Gram staining procedure differentiates bacteria based on differences in their:
The text mentions: 'Bacteria can be classified into two groups on the basis of the differences in the cell envelopes and the manner in which they respond to the staining procedure developed by Gram...'. Therefore, the cell envelope structure is key.