What is a hash and how does hashing work? Give your answer in 1-2 sentences

A hash is a cryptographic algorithm that converts input data, such as text or files, into a fixed-length string of characters. This process is designed to quickly verify the integrity of data by generating unique hashes for each input, making it difficult to reverse-engineer the original data from the hash.