MD5 hashes can be used for data verification by comparing the generated hash with the expected hash value. If the hashes match, it indicates that the data has not been tampered with and remains intact.