How do I remove my device from iCloud?

How do I remove my device from iCloud?

A quick guide on how to remove an Apple device from iCloud, ready to sell or pass on. iCloud is a convenient center point to link all of your Apple devices to one cloud system, not only can you sync data across multiple devices but you can also save all of that data...