What does book formatting software actually have to do?
The short definition is that it turns the finished text of a book into the files a store or a printer will accept. In practice that means two files out of one source: a reflowable EPUB for the ebook retailers, and a print-ready PDF at a real trim size, 5x8, 5.25x8 or 6x9, laid out for a printed page rather than a screen. Both have to come from the same text, because the paperback and the ebook are the same book, and a correction that is true in one has to be true in the other.
Underneath that sit the details that decide whether a file passes review. A print interior needs mirrored margins with a gutter, the extra inner margin that keeps text from disappearing into the spine, and the gutter has to grow with page count, because a 400-page paperback opens less flat than a 200-page one. Running heads alternate, author on one side and title on the other, and they drop off chapter openings and front matter. Page numbering starts where the book starts rather than where the file starts.
Typefaces are the other half. Embedding a face in an EPUB or a PDF you sell is a licensing question before it is a technical one, and a good many of the fonts already on your computer are licensed for making documents, not for shipping inside a commercial file. When a formatter offers a font library, it has usually done that clearance for you, which is why the font count appears in every comparison of these tools.
A book is also more than its chapters. Front matter runs half title, title page, copyright page, dedication and sometimes an epigraph or a map. Back matter carries acknowledgments, an author's note, an also-by list and the sample chapter that sells the next book. Each of those has its own page rules, and a tool that only understands chapters will make you argue with it over all of them.