Knitting is a technique for creating a fabric by connecting loops of yarn together using large needles. The yarn can be made from a variety of materials, such as wool, cotton, or acrylic. Knitted fabrics are known for their elasticity, which makes them ideal for garments that need to stretch, like socks and hosiery.