In Python, a dictionary is a data structure very similar to a list, except that in a dictionary you use keys to access values, while in a list you use indices. A dictionary is an iterable sequence, so you can traverse it using loops. Therefore, you can retrieve keys, values, or both using the `items()` iterable.