You need a transit visa if you leave the transit area. However, nationals from specific countries (Iran, Syria, Guinea, etc.) will need a transit visa regardless of whether they leave the transit area or not.