Clay is fine particles that form from weathered rocks and minerals. Ancient cultures discovered clay could be shaped and used to make pottery as early as 8,000 BCE in the Middle East. There are two main types of clay - primary kaolin clay found where it was originally formed, and secondary clay that has eroded and been carried elsewhere. To prepare clay, it is wedged to remove air, allowed to dry to the leather-hard stage, and then fired first in a bisque firing and finally glazed and fired again to produce finished pottery. Modern kilns use gas or electricity to fire clay to the appropriate temperature indicated by pyrometric cones on a cone chart.