open GL sound system

how can i use openGL to produce a sound. (i.e. what functions are used in this case??)

OpenGL is a graphics library and hence can not produce a single sound.

OpenAL (Open Audio Library) is what you are looking for. www.openal.org