Magnets uses your iCloud account and the iCloud account of your friends to post pictures and messages to eachothers homescreens.
This allows you to use the account you already have, instead of spending time to create a new one. It also means Magnets uses the same security, privacy and scalability features that iCloud offers, so that your data will always stay private.
Learn more about iClouds security and privacy here.