Answer :
The primary function of pilli are to attach a bacterial cell to specific surfaces or two other cells some bacteria are able to produce conjunction pilli that allow for the transfer of DNA from one bacterial cell to another