WebGL is a JavaScript API for rendering interactive 3D graphics and 2D graphics within any compatible web browser without the use of plug-ins. It uses OpenGL ES 2.0 and is accessed using JavaScript through the <canvas> element. Common libraries like Three.js provide helper methods that simplify common tasks like setting up shaders, buffers, and rendering loops to make 3D graphics programming on the web easier.