Diagram of a moka pot. It's very similar in design, except that it has a second chamber on top of the coffee basket, and the basket is just above the water chamber. Water flows up the tube through the coffee bed and filters, then up the rest of the tube, and finally into a second chamber so the brewed coffee doesn't mix with the water in the boiling chamber.
https://kolektiva.social/system/media_attachments/files/110/246/639/347/372/941/original/58033164680c6296.jpg