Ok so

Please don't think me dumb I've been using regular diapers for my child and I know they use a lot but I'm still looking for a job and when this baby is born I don't know if we can afford dispaoable diapers even tho that's what I'm used to (my daughter is 6 now so she's good) lol but I keep seeing moms use cloth diapers and I'm thinking how does that work? Do you throw the poo in the garbage and then wash them or what? Again I'm sorry I'm ignorant don't know anything about them