Liquids have definite volume but the shape of liquid is dependent on the container in which it is poured :
1. When we pour water from bottle to a glass, the water takes the shape of that glass.
2. When we pour water back from glass to bottle, the volume remains the same.