This paper discusses a parasitoid-host-parasitoid ecological model and its dynamical behaviors. On the basis of the center manifold theorem and bifurcation theory, the existence conditions of the flip bifurcation and Neimark-Sacker bifurcation are derived. In the end of the paper, some typical numerical experiments are performed, which illustrate that the theoretical method is effective.