OpenGL is a desktop computer-centric API (like direct3D). WebGL is derived from OpenGL ES 2.0 (intended for mobile devices) which has fewer capabilities and is simpler to use. WebGL is also designed to run in a browser and has therefore a few limitations more than OpenGL ES 2.0.