What is the use of the "with" statement in Python?