Demand deposits are considered as money, because they can be withdrawn when required and the money withdrawn can be used for making payments. So, they are also considered as money in the modern economy.