She has lots of history books.

Literal

She [topic-は] a-lot [genitive-の] history [genitive-の] books [object-を] [has-持っています].

Three nouns linked by の build the noun phrase: たくさんの+歴史の+本 = 'lots of + history + books.' The の after たくさん is required to modify a following noun (compare adverbial たくさん本がある, which uses no の). The polite ~ています hits a steady, observational register, well-suited to factual statements about someone's possessions. Note that '歴史の本' is the everyday way to say 'history books'; the alternative compound 歴史書 exists but feels more bibliographic / formal.