The student conducted an experiment to observe the effects of osmosis on eggs placed in water and corn syrup. They measured and weighed eggs before and after soaking, finding the egg in water gained weight and size while the egg in corn syrup lost weight and shrank. This supported the hypothesis that osmosis causes water to move into the egg in water but out of the egg in corn syrup.