How are the most active metals obtained in industry? Write the equation for the reaction of obtaining sodium

How are the most active metals obtained in industry? Write the equation for the reaction of obtaining sodium in the electrolysis of sodium chloride melt.

The most active metals in industry are obtained by passing a direct electric current through solutions or melts of their compounds, i.e. electrolysis:
2NaCl —–> 2Na + Сl2 (melt electrolysis)

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.