EMB agar, containing eosin Y and methylene blue dyes, serves as a slightly selective and differential plating medium that partially inhibits gram-positive bacteria while allowing gram-negative organisms to grow. The medium's differential properties enable the identification of E. coli through its characteristic metallic green sheen colonies.