Answer:
The lighter liquid floats on the heavier liquid, which sinks to the bottom. Water's density varies with temperature; when heated it will expand and therefore increase in volume. This means its mass per volume will decrease and it becomes less dense. Warm water, thus, is generally less dense than cold water.
Hope this helps! Sorry if this was not what you were looking for!