A flashback is a scene or passage that interrupts the forward movement of a story to present events from an earlier time. Narratology, following Gerard Genette, calls the movement analepsis; the word flashback comes from film. A play can be saturated with the past without ever staging it, and the theatre has two methods: telling the past and showing it.
Telling is the classical method. Homer began the Odyssey in the middle of its story and let Odysseus narrate his earlier adventures at the court of Alcinous. Greek tragedy, confined to one day and one place, made narrated retrospection normal. Oedipus the King is entirely about events long past, the oracle, the exposed infant, the killing where three roads meet, yet none of them is shown; Jocasta, Oedipus, the Corinthian messenger and the old herdsman supply recollections in the present, and the drama is the assembling of their evidence. Sir Philip Sidney defended this practice in the Defence of Poesie, distinguishing reporting from representing: many things may be told which cannot be showed. Shakespeare, who ignored the unities in most respects, still told the past: Prospero narrates twelve years of history to Miranda in The Tempest, and Macbeth opens with the wounded Captain's report of a battle already fought. Ibsen inherited the method: in A Doll's House Nora's loan and forged signature reach the audience through her confession to Mrs Linde, Krogstad's questioning and the letters.
Showing is the modern method, and it depends on conventions that make a shift of time visible: lighting, music, a narrator's announcement, actors stepping between times. Arthur Miller's Death of a Salesman (1949) plays scenes from Willy Loman's past on stage while the present continues around him. Miller objected to the word flashback, preferring to describe the past as running concurrently with the present: the memory scenes are Willy's mind at work, not objective inserts. Tennessee Williams's The Glass Menagerie (1944) takes the frame to its limit. Tom narrates from a later time and the whole play is his memory, a form Williams called a memory play and staged with music and projections because memory is not realistic.
The two methods have different strengths. Telling keeps the audience in one time, concentrates the action and makes discovery dramatic, as Oedipus and A Doll's House prove. Showing gives the past immediacy, reveals psychology through what a character remembers, and creates irony by placing a hopeful past beside a diminished present; its costs are interruption, possible confusion and dependence on stage machinery. The prescribed plays belong to the telling tradition: Macbeth reports its battle and, in the sleepwalking scene, lets the past erupt into Lady Macbeth's mind without staging it, while Kanyadaan moves forward across a gap in time.
In conclusion, the flashback is one answer to the problem of making the past present. The classical answer was narration disciplined by the unities; the modern answer is enacted memory made possible by new stage conventions and the example of film.