In this paper, we study the dynamics of quantum discord and entanglement of three identical two-level atoms simultaneously resonantly interacting with three spatially separate single-mode of high-Q cavities respectively. Taking advantage of the depiction quantum discord and entanglement of formation (EoF), we conclude that the discord and entanglement of atoms and cavities can be mediated by changing some parameters and the maximum values of discord and entanglement are independent on the couplings of cavities and atoms. In particular, there also exists quantum discord sudden death as well as entanglement sudden death and the time interval of the former is shorter than that of the later in the proposed quantum system. It is shown that the discord and entanglement of any two atoms among three atoms can be transferred to the corresponding cavities, and there exists discord and entanglement exchanging between the atoms and the corresponding cavities.