Help with GLSL.

So I know that you use alpha texturing to make the background of an image transparent but it doesn’t work in GLSL. Is there a way to get it to work in GLSL?