In rhetoric, an anaphora is a rhetorical device that consists of repeating a sequence of words at the beginnings of neighboring clauses.
It is used for giving emphasize and also to give rhythm.
It gives more pleasurable reading experience.
Possibly the oldest literary device, has its roots in Biblical Psalms.
Elizabethan and Romantic writers brought this device into practice.
Eg: What the hammer? what the chain? In what furnace was thy brain? What the anvil? what dread grasp Dare its deadly terrors clasp? — William Blake, The Tyger