Essentially, any cryptocurrency network is based on the absolute consensus of all the participants regarding the legitimacy of balances and transactions. If nodes of the network disagree on a single balance, the system would basically break. However, there are a lot of rules pre-built and programmed into the network that prevents this from happening.
Bitcoin is a digital asset designed to work in peer-to-peer transactions as a currency. Bitcoins have three qualities useful in a currency, according to The Economist in January 2015: they are "hard to earn, limited in supply and easy to verify." Per some researchers, as of 2015, bitcoin functions more as a payment system than as a currency.
NEM — Unlike most other cryptocurrencies that utilize a Proof of Work algorithm, it uses Proof of Importance, which requires users to already possess certain amounts of coins in order to be able to get new ones. It encourages users to spend their funds and tracks the transactions to determine how important a particular user is to the overall NEM network.