Which object is a source of electric energy in the closed circuit?