A Foley catheter is employed to continuously remove urine from the bladder.
There are a number of situations in which this could be appropriate, including during gynecologic surgery, in the incontinent patient, and whenever someone is experiencing difficulty with urination.
This video demonstrates one method for insertion of a Foley catheter.