Here's why:
* Sodium's intense yellow emission: Sodium is a common element, often found as an impurity in other compounds. When heated in a flame, it emits a very bright yellow light that can mask the colors produced by other elements.
* Cobalt glass absorbs yellow light: Cobalt glass is a blue-colored glass that absorbs yellow light strongly. This selective absorption allows the other colors in the flame, particularly the potassium's violet-red, to be seen more clearly.
* Potassium's violet-red flame: Potassium produces a violet-red flame when heated. However, this color can be easily masked by the intense yellow of sodium. Cobalt glass helps to reveal the potassium flame by filtering out the sodium yellow.
In summary: Using cobalt glass allows for a more accurate and efficient identification of potassium in a flame test by eliminating the interference from the sodium yellow light.