A bucket is a slot in the container's internal hash table to which elements are assigned based on the hash value of their key. Elements with the same key are located in the same bucket. Buckets are numbered from 0 to (bucket_count-1).