Sparsity in a neural network refers to the fraction of weights set to exactly zero, removed from the computation rather than merely small, achieved through pruning techniques that come in two main flavors: structured sparsity, which removes entire structural units like channels or attention heads, and unstructured sparsity, which removes individual weights wherever they happen to be least important. The distinction matters enormously for real-world speedup: structured sparsity maps directly onto standard dense hardware, while unstructured sparsity, despite often reaching a higher sparsity ratio for the same accuracy loss, needs specialized sparse-matrix support to actually run faster rather than just smaller.