Whether DSLR or mirrorless, these days digital cameras all have some sort of USB port on them, and there are a lot of different things you can do with them.
If you own any portable device manufactured in the last two decades, chances are you have had to buy a fair share of the removable flash memory cards. That's the tiny bits of plastic and silicon ...