It’s not exactly clear who invented carpet, but some of the first carpets came about in the Middle East. They contained sheep wool or goat hair, and their purpose was to make the ground more comfortable for sitting.