The contents of an iOS backup vary, depending on whether it is encrypted, made locally (with iTunes or macOS) or stored in iCloud.
In most cases, contacts, notes, photos, calendar, texts, and so on, are backed up. We've got a concise summary of just what is and isn't in an iTunes backup.