How does one substance become positively and other other negatively?

It's about static electricity.

I know when you rub two objects together, one will become positive and the other will become negative but how? Does it lose electrons..?

1 answer

Basically one object has excess electrons. You can read more about it here.
http://en.wikipedia.org/wiki/Static_electricity