We fry stuff in oil because oil has much higher boiling point in comparison to water. So after heating when oil reaches temperatures greater than the boiling point of water (100°C) it instantly vaporize the water present in food into steam. This causes removal of water from outer edge of the food and leaving a crunchy outer shell. However if we try same with water food gets mushy.