
The reaction between indole, sodium amide ($NaNH$_2$), and benzenesulfonyl chloride ($PhSO$_2$Cl$) proceeds via nucleophilic substitution.
The strong base $NaNH$_2$ directs the reaction to the nitrogen atom of indole. The electrophile $PhSO$_2$Cl$ then reacts at this nitrogen. Therefore, the phenylsulfonyl group ($PhSO$_2$-$) attaches to the N1 position of the indole ring.
Option 4 correctly depicts this N-substitution product, N-(phenylsulfonyl)indole.
| Option | Structure | Analysis |
| 1 | ![]() |
Incorrect (C3 substitution) |
| 2 | ![]() |
Incorrect (C2 substitution) |
| 3 | ![]() |
Incorrect (Benzene ring substitution) |
| 4 | ![]() |
Correct (N1 substitution) |
The major products A and B formed in the following reaction sequence are:

The correct order of basicity for the following heterocycles is
The major product formed in the following reaction is