Where does breast milk come from

My boobs have started to leak and now I can't stop thinking of weird stuff. So I know you have like milk ducts in your breast is that where milk forms and stays until its pumped or sucked out?

Or is it like stored in a pocket or something in your boob. Ftm and things like this totally boggle me. 😩😂