Uninsured motorist (UM) coverage pays when the at-fault driver has no insurance. Underinsured motorist (UIM) coverage applies when the other driver's policy limits are less than your damages.
UM/UIM coverage is required in some states and optional in others. It protects you when the responsible party cannot pay - an unfortunately common scenario given the number of uninsured drivers.