What is the act of two bacteria joining and exchanging DNA?

It is called bacterial conjugation, this is not sexual reproduction, since no exchange of gamete occurs.