by which process do gases take the shape of their container ?