Since the heads of phospholipids are hydrophilic, they are attracted to water. The tails on the other hand, are repelled by water. So, if two rows of phospholipids are next to each other, the tails will face each other, whereas the head will face the water on either side. In the middle of the two rows, which the hydrophobic tails face, there will be no water. This creates a barrier that water cannot go through.