Carbolic acid, commonly known as phenol, comprises six carbon, six hydrogens, and one oxygen atom in…