OpenGL is a cross-platform API for 2D and 3D graphics. It allows developers to draw complex 3D scenes using primitives. OpenGL was created in 1992 by SGI and has evolved over time. It uses a pipeline architecture where commands are evaluated to transform vertices and attributes before rasterization converts them to fragments for framebuffer operations. Developers can use shading languages like GLSL in vertex and fragment shaders to add lighting, textures, and other effects.