Limestone is calcined at ~900 °C to give CaO: CaCO3 → CaO + CO2. Metallic Ca comes from aluminothermic reduction of CaO under vacuum, or electrolysis of molten CaCl2. See calcite.