Just look for any soda maker for home use that does exactly that by forcing in carbon dioxide in a plastic bottle.
In an industrial plant, you do that in a larger pressure container and keep the pressure while you fill the container you sell it in. You the filling bottle part [in this video](https://youtu.be/yet4zA415B8?t=41).
Latest Answers