What is the use of the "difference" function in Python?