Question: what is the electron configuration used for?
Answer: Commonly, the electron configuration is used to describe the orbitals of an atom in its ground state, but it can also be used to represent an atom that has ionized into a cation or anion by compensating with the loss of or gain of electrons in their subsequent orbitals.