Because these are the two associations data structures.
Association List: are referred to that data type which contains the pair of the key and item in the Java Programming Language and Python Programming Language, it is called a dictionary data type.
Tables or Hash Tables: are referred to that data type which converts the keys into the integer value.