I'm looking for an explanation on the effect and reasoning of Bach's choices in the third measure of 'toccata and fugue in d minor'. I can only presume its a cadence to resolve the chord built in the end of the second measure (involving the c♯) but I do not know the names of the chords or what type of cadence this is. Does anyone know what Bach is doing here and why?
Measures two and three are: