What is the use of the "heapq" module in Python?