Answer:
Energy is absorbed, and an emission line is produced.
Explanation:
Electrons are present and revolving continuously in the orbits that are present around the nucleus. The energy of electron are fixed and unable to move to other orbits due to the strong attractive force of the proton which is present in the nucleus of the atom. If the electron wants to jump from the first energy level to the second energy level, so the electron has to absorb enough energy which can overcome the attractive force of proton.
Nails are made up of iron not of phosphorus and barium.
As both phosphorous and barium are relatively weaker than iron ,phosphorus breaks easily and barium is also fairly weak. Iron nails are already also not that strong, but their weight and strength are sufficient.
So the nails are made up of iron.