Why was there war between Soviet Union and Finland?

The Soviet Union wanted to secure bases in Finland so they would be able to defend their own country in case of a Nazi invasion. Also, Finland was a known supporter of the Axis powers.