The urinary bladder is a hollow muscular organ in the pelvis that stores urine from the kidneys before it is excreted through the urethra. It plays a crucial role in the urinary system by temporarily holding urine until it is convenient to expel it from the body.