Depends on the currency. Bitcoin is largely just currency, but things like Ethereum introduce concepts such as smart contracts. Here's an article explaining Ethereum, but obviously there are tons of cryptocurrencies now that all work in their own way.