Define and explain a blockchain

Hello. I know that blockchain is the technology behind Bitcoin and other cryptocurrencies, but I don't know how exactly it works. Could someone explain to me the basics of blockchain? How does it work and what are its potential use cases? Thanks in advance cryptoboy