Dear friend,
The doctrines of the Church are all the teachings which must be believed by the faithful. Dogmas are just those doctrines solemnly proposed by the Church as formally revealed in Scripture or Tradition—including Purgatory. So it is both.
Fr. Vincent Serpa, O.P.