Answer:
Osmosis and also a bit of simple diffusion
Step-by-step explanation:
Since inside the onion has water content also, since outside is more concentrated, the water content inside of the onion will move out into the outside to make the outside less concentrated. So as water leaves the onion, the onion mass reduces