SMS: Fundamental aspects of electrometallurgy