Electronic configuration may be defined as the distribution of electrons in their respective shell. The different orbitals in which the electrons filled are s, p, d, f and g orbitals.
The ground state electronic configuration includes the full filling of the maximum electrons. The s orbitals max have 2 electrons and p orbitals have 6 electrons. The electron filling first occur in s then in p. Hence, 1s22s22p6 shows the ground-state electron configuration.