I shall define the magnetic field and the equivalence between a body's mass and its electric charge. On this basis, the mass of the Earth's core shall be theoretically calculated, and shall result in a value that corresponds to established findings. The Earth is like a magneto, of which its rotor behaves like an alternator. The inner and outer cores rotate in opposite directions to each other, with the inner core behaving like an inductor and the outer core being induced. Then I shall obtain the electric charge, the force of electric fields and the electric potential at the Earth's surface. Throughout, I shall be applying some theoretical propositions to the concept of Earth's electrical energy. I shall calculate the frequency of alternating electric currents generated by the Earth.