An element is a substance that cannot be split into smaller substance. It is made up of one kind of atom and can exist either as molecules (e.g nitogen) or an atom (e.g argon).
Temperature is a measure of the average kinetic energy of the molecules, so energy would naturally be transferred from the molecules with more kinetic energy to the molecules with less kinetic energy