A two-level atom interacting with an electromagnetic field is investigated. Using a canonical transformation, a Hamiltonian analysis is carried out. The transformed Hamiltonian manifestly shows various features, in particular, the effects of the interaction Hamiltonian on both the atom and the field are obtained simultaneously.