# What are Blockchains?

Cryptocurrency balances store their data on a blockchain.  At its core, a blockchain is little more than an electronic database – i.e. a collection of information –  that is shared across many different computers.&#x20;

Unlike a traditional database, blockchains organize data into groups known as blocks.  These blocks have limited storage capacity, so when they become full they are locked and linked to the previous block with a “hash”.  This forms a chain – hence the name, blockchain.&#x20;

<figure><img src="/files/xYv3hJzeyfB31cJg0uul" alt=""><figcaption><p>Source:  <a href="https://www.ig.com/en/trading-strategies/what-is-blockchain-technology--200710">ig.com</a></p></figcaption></figure>

These hashes are extremely important because they make blockchains immutable, that is, data (such as your Bitcoin or Ethereum balance) can’t be deleted, tampered with or changed once it is locked into the chain.   &#x20;

Hashes are created through a cryptographic process (known as hashing) that takes a given set of information and converts it into a unique code (which is basically a long string of characters).  For example, the word “fox” could be hashed as DFTY786DCFJ894SUSH865AAHJAI978 and the sentence “the quick brown fox jumps over the lazy dog” could be hashed as SOIAUYA7865ASLUAN098A5489USYAN.  There are three important things to note about hashes:&#x20;

* Virtually anything can be hashed (i.e. you can hash a word, a sentence or the entirety of War and Peace)
* Hashes are always unique (i.e. if you changed a single letter in War and Peace you would get a completely different hash)
* It’s impossible to guess the original data from looking at the hash (i.e. you wouldn’t know that DFTY786DCFJ894SUSH865AAHJAI9785 was “fox”)&#x20;

Because all new blocks are required to store the hash of the previous block, it’s easy to see if the blockchain has been tampered with.  If the hash contained in the new block matches the old, you know that the data is secure.  If they are different, everyone will know that the block has been tampered with.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.digitalnations.xyz/web3-overview/the-web3-ecosystem/cryptocurrencies/how-do-cryptocurrencies-work/how-are-cryptocurrencies-decentralized/what-are-blockchains.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
