When the atom absorbs energy of the proper frequency/energy.
No, an electron cannot remain in an excited state without additional energy input. Excited states are temporary and the electron will eventually return to its ground state, releasing the energy it absorbed as photons.
Typically, an electron goes into an excited state when a photon (a particle of light) with just the right wavelength strikes it. For most molecules, these photons are in the Ultraviolet / Visible light spectrum.
Elements go from the ground state to the excited state if some form of energy is supplied. Otherwise, they stay in the ground state.
An excited electron spontaneously drops back to its ground state, emitting a photon of light as it does so. <><><><><> The same thing happens in the nucleus. An excited nucleus drops down to a lower energy level, releasing a photon.
It must omit a photon of light to lower the excited electron to a lower state. It may require multiple emissions to lower one electron multiple steps or multiple emissions to lower multiple excited electrons. (Incidentally this is why we see a blue sky - excited O2 molecules are emitting blue photons to get back to a ground state)
Yes, because an atom in an excited state will normally give off energy and go to a less-excited state or to its ground state. Some atoms have long-lived excited states and are called "metastable".
An atom will go into an excited state when the electrons are given extra energy. Then after the electrons have been excited it will eventually go back to ground state producing a light as it returns to its normal state.
The exciting of an electron takes in energy. The fall back to the ground state releases that energy as a photon. The photon is created by the return to the ground state.
In the case of excited phosphorus, the electron will bump up to the 3d level. This is the next closest location (in terms of energy) that the electron can go. Even though ground state phosphorus has no electrons in 3d, the atom can still access that sub-level because the principal quantum numbers for 3p (where its valence electrons are anyway) and 3d are the same.
When electrons fall down to their ground state, they release energy in the form of photons of light. This is because the energy difference between the higher energy state the electron was in and the ground state is emitted as light. The wavelength of the light emitted depends on the specific energy difference between the two states.
By definition, no object can go to a lower energy level than its ground state. Bohr simply assumed that the ground state of an electron in an atom was due to the minimum amount of angular momentum it could have. An electron could have that minimum amount (we'll call it 'h') or two times h, or three times h; but never less than h, and never a fraction of h. Since an electron can never go to a lower energy level than its ground state, it can't give up energy.
The Sun. And also: when electrons go from excited state back to ground level, the energy that they had transforms into light which is given off.