Casting is one of the earliest metal shaping techniques known, involving pouring molten metal into a mold and allowing it to solidify. There are two main categories of casting processes: expendable (including sand casting) and non-expendable (including permanent mold casting). The casting process involves: 1) creating a pattern to form the mold cavity, 2) incorporating the pattern and molding material in a gating system, 3) removing the pattern and filling the mold with molten metal, 4) allowing the metal to cool, and 5) breaking away the mold to remove the casting. Patterns come in various types depending on the part geometry and production needs, and are made from materials like wood, metal, plastic