The present review paper surveys the studies carried out in the field of five-membered heterocyclic compounds containing more heteroatoms since 1984.