Step 1: Recall the structure:
The demat system has three links: the investor, the Depository Participant and the depository. The depository holds the records, and the DP serves the investor.
Step 2: Find the intermediary:
The investor cannot walk up to NSDL or CDSL for an account. He or she goes to a bank, broker or other agent that is registered as a DP.
That agent opens the account and handles the transfers. This makes the DP the middle link.
Step 3: Rule out the others:
Option (2), NSDL, is a depository, so it is one end of the chain and not the middle.
Option (3), CDSL, is the other depository, so the same reason applies.
Option (4), the stock exchange, is a trading platform and does not keep demat accounts.
Final Answer:
The answer is Depository Participant, option (1).