The answer to this question would be: attract electrons.
Proton has a positive charge and electron have a negative charge. The same charge will repel each other, which mean proton will repel other protons. But opposite charge will pull each other, which mean proton will pull electrons.