A beret is a soft, round, flat-crowned cap made of hand-knitted wool, crocheted cotton, wool felt, or acrylic fibre.
Mass production of berets began in the 19th century in Southern France and the north of Spain, where they were already common headwear, and the beret remains associated with these countries. From Wikipedia