A tree or shrub (genus Acacia) of the pea family that bears spikes or clusters of yellow or white flowers and is frequently thorny.