Help me understand Message attachments and iCloud

There are some mentions of archiving in this other thread. I use iMazing to export attachments, and my messages as PDFs