You are missing the / that terminates the s expression.
sed 's/snow/rain/' forests.txt
Thank you for you help