A negative ion or anion is an electrically charged atom or group of atoms that are formed by gaining one or more electrons. Whereas a positive ion or cation is an electrically charged atom or group of atoms that are formed by losing one or more electrons.
The losing and gaining all occurs on the outermost shell.
If your question is of the core of the Earth, it is suspected to be made of iron and nickel.
salt, in chemistry, substance produced by the reaction of an acid with a base. A salt consists of the positive ion (cation) of a base and the negative ion (anion) of an acid.