Oil and water don't mix. When oil is poured into water, it tries to keep itself deprecated from the water. Similarly The proverb is used to describe people that don't "mix" or get along together.
"I'm busy tonight, why don't you ask Tracy to go with you"
"Nah Tracy and I are like oil and water"