Yarn is a long, continuous lenght of interlocked fibers. The yarn-spinning process, that brings fibers together, can be done by machines, providing different qualities and creating different yarn structures.
Factors such as lenght of the fiber, yarn count and twist direction can all contribute to the appearance, strenght and other properties of fabrics.