Driving License in UAE for foreign residents

Whether a foreigner needs to obtain a driving licence in the UAE, how to apply for an existing licence, driving licences from which countries are valid in the Emirates.