The ARGO-YBJ experiment has been in stable data taking for 5 years at the YangBaJing Cosmic Ray Observatory (Tibet, P.R. China, 4300 m a.s.l., 606 g/cm$^2$). With a duty-cycle greater than 86% the detector collected about 5$times $10$^{11}$ events in a wide energy range, from few hundreds GeV up to about 10 PeV. A number of open problems in cosmic ray physics has been faced exploiting different analyses. In this paper we summarize the latest results in cosmic ray physics and in gamma-ray astronomy.