Texture mapping is a technique in computer graphics used to apply a 2D image, or texture, onto the surface of a 3D model to enhance visual detail without increasing geometric complexity. This process involves mapping texture coordinates to vertices of the 3D model, allowing for realistic rendering of surfaces like wood, metal, or skin.