iPhone message history sits in an SQLite database on the device. It travels into two kinds of evidence an examiner can work. The first is an encrypted MobileBackup2 backup, which any unlockable device yields through Apple's supported path. The second is a full-filesystem extraction, which Cellebrite UFED or VeraKey class tooling produces. Sherlock Forensics iPhone Analyzer reads both, so message analysis does not depend on which route the evidence took to reach you.
The database is richer than the Messages app lets on. Alongside the visible threads it holds delivery and read metadata, group membership records, reaction records and, critically for investigations, freed pages where deleted records linger until the database overwrites them. A forensic reconstruction has to handle all of that faithfully: presenting what is live, recovering what survives and never blurring the two.
