How do astronauts use the bathroom in space?

Going to the toilet is a basic human function that even astronauts, as they further human space exploration, have to undertake. So how do astronauts 'boldly go' in space.

How do astronauts use the bathroom in space? : Read more
I can still remember when Congressmen were giving NASA a hard time for "spending $1,000,000 on a toilet seat" during budget hearings. Too bad it wasn't feasible to send them up for a week. That would have been a great mind-changer!

Original thread: https://forums.space.com/threads/how-do-astronauts-use-the-bathroom-in-space.65464/