A nub is a small rounded protuberance or swelling on a surface, often seen on textiles or materials that have been treated to create a specific texture. They can be small and round, or larger and more irregular. Nubs can be used to create a specific texture or appearance on a material, or to give it a particular function.