A reaction in which a proton is transferred from one molecule to another, resulting in the formation of an ion.