A hash value assigned to a block is used to chain them together. If the hash value is changed, this means someone is trying to spoof the data stored in the hash. The link between blocks is done by storing the hash value of the previous block. For example, block 3 will store the hash value of block 2 and so on.
How are blocks changed together in Blockchain?