The goal of this work is to investigate quantum entanglement and quantum discord of a pair of two-level atoms which is driven by an external classical field and interacts with a cavity field. After extracting density matrix of the atom-atom subsystem, it is shown that we have stronger quantum discord by increasing atom-field coupling constant for the case in which there is no entanglement. Moreover, for the atom-atom subsystem it is realized that quantum entanglement and quantum discord cannot increase, they decrease after passing some times due to cavity dissipation. Also quantum entanglement and quantum discord decrease faster by increasing atom-field coupling constant.