This invention relates to heterocyclic derivatives useful for inhibiting the production of Interleukin-1 (IL-1) and tumor necrosis factor (TNF) and the like, which can be represented by the following formula: <IMAGE> (I) to a process for their production, to a pharmaceutical composition containing the same and to uses thereof.