Analyse the following reaction and identify the nature of A and B