Data & backup

How does backup work on iPhone?