How do you go to the toilet on the International Space Station? It's not exactly like on Earth, but it's close. By using bags, a fan, and foot and handholds, astronauts can use the toilet even in a weightless environment.
Urine is treated and recycled into drinking water, while solid waste is vacuum-dried, compressed, and kept in airtight containers that are loaded into a cargo spacecraft. All the waste burns up in Earth's atmosphere.