A urinary catheter, also known as a Foley  catheter, is inserted into the bladder and allows the urine to drain directly into a bag.