Failures
Why a checksum catches some errors and not others
A checksum is a short extra value computed from a block of data. It is a compact way to notice many accidental changes, not a lock against every possible alteration.
When a file, a packet or a memory row is stored or sent, a simple function can boil the bits down to a short extra field. The receiver or a later reader runs the same function and compares. If the result does not match, something in the block, or in the field itself, has changed. That is useful against noise, a cut message, or a disc sector that went bad. It is not magic: some changes can still land on the same short result, so they pass.
Short checks have collisions; some are easy to aim at
The shorter the check, the more different blocks can share a result. A simple sum may also miss patterns it was never designed to see, such as swapped bytes that add to the same total. Stronger cyclic checks are much better against accidental bursts of noise, which is why they are common on links and discs. They are still not a proof that a person did not change the data on purpose and recompute the field.
Cryptographic digests and signatures are a different job: they are built so that a deliberate forgery is hard, not just so that random noise is likely to show. Using a short link checksum as if it were a signature is a category error.
Know what class of error you are stopping
If you need to catch line noise or a damaged store, a well-chosen checksum or cyclic check is the right kind of tool, and a mismatch is a hard stop: do not trust the block. If you need to know that a document is still the one a particular party issued, you need a different class of check. The presence of "a checksum" in a protocol is not, by itself, a complete guarantee of either job.