An incident electromagnetic (EM) wave can affect an atom's energy levels through interactions with charged particles, such as electrons. The oscillation of these particles can be described mathematically, where the electric field of the EM wave influences their motion. The net power exerted on the charged particles can vary based on the phase relationship between the particle's oscillation and the EM wave. If this power is negative, the particles can release energy back into the field, leading to a decrease in their oscillation amplitude, a process known as stimulated emission. Ultimately, the interaction between the atom and the EM wave determines whether energy is absorbed or emitted, depending on their phase alignment.