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