A mixture is formed when atoms or molecules of the same or different particles combine with each other physically.
For example - Air is a mixture of gases like Carbon dioxide, Nitrogen, Oxygen, etc; dust, Water vapors.
Mixtures are majorly of two types - Homogeneous and Heterogeneous mixtures.
Those mixtures in which the substances are completely mixed together and are indistinguishable from one another are called homogeneous mixtures.
Those mixtures in which the substances remain separate and one substance is spread throughout the other substance as small particles, droplets or bubbles, are called heterogeneous mixtures.
The mixture of oil and water -
Oil and water are two immiscible liquids.
Those liquids which do not mix with each other and form separate layers (when put in a container), are called immiscible liquids.
Since these two do not mix, oil and water can be seen distinctively through naked eyes.
Hence, a mixture of oil and water is a heterogeneous mixture.