Oil has the property of floating on water.

Literal

Oil [topic-は] water [on-に] float property [subject-が] exists.

性質がある ('has the property of') is a formal construction for describing inherent characteristics. 浮く (うく, 'to float') is intransitive. The sentence reads like a science textbook entry.