iCloud backs up your photos, accounts, documents and settings automatically. To access this backup section after setting up iCloud, go to Settings > iCloud > Storage & Backup (at the bottom). After these things have been backed up, the information remains on your phone and on iCloud.