A voxel, a term formed from volume and pixel, is the value of a single cell when three-dimensional space is divided into a regular grid of equal-sized cells. Just as a 2D image is an array of pixels, voxel data represents space as an array of voxels on a 3D grid. Each voxel stores values such as color, density, or material. Unlike a polygon mesh, which describes only the surface of an object with triangular faces, a voxel representation fills in the interior of the object as well.
Typical voxel data includes the 3D volumes built by stacking CT and MRI slices in medical imaging, and voxels are also used in scientific visualization and terrain simulation. In games, worlds made of blocks, as in Minecraft, are described as voxel-based, and such games let players reshape the terrain by placing and breaking blocks. In AI, models that recognize or generate 3D shapes sometimes use voxel grids as their input and output format.