Step-by-step explanation:
Sodium is a reactive metal, and so can't be extracted by electrolysis of an aqueous solution.
The main ore of sodium is common salt, sodium chloride.
Calcium chloride is added to the purified ore to lower the melting point from around 800°C to around 600°C, so that energy costs are lowered and this is economical because it saves on electricity used in heating.