Foley catheters are used in various medical situations, such as during surgeries, for patients with urinary retention, or those who are critically ill and need continuous monitoring of urine output. They are also used for patients with certain medical conditions like prostate issues or spinal injuries.