A dictionary stores key-value pairs in Python.