A Bloom filter is a memory-efficient, probabilistic data structure designed to test whether an element is a member of a set. It answers queries with either "definitely not in set" or "possibly in set," trading perfect accuracy for a massive reduction in memory usage. The structure uses an array of bits and multiple independent hash functions. To add an element, the hash functions compute indices, and the corresponding bits are set to 1. A query checks if all hashed bits are 1; if any are 0, the element is definitely absent.
