I presume you mean "socialism". And no, it is NOT the opposite of "freedom". One has to be a little careful here, because there is a huge variety of different kinds of BOTH.
Forget the hogwash from the "wingnuts" of the ultra-right, socialism is really about state ownership of industries and distribution, of which we have very little here in the U.S. AMTRAK is a nationally owned business all right, but the railroads essentially DUMPED that on the government because they wanted to be rid of passenger service, so it's in a very strange place in the history of such things.
But ALL countries have some state-owned and controlled industry. Most commonly, it's the railroads, the power grid and power companies, and sometimes, very important services, such as the medical care system.
In most of Europe, medical care is much more accessible than here.
In a few countries, there are delays and some inefficiencies.
Most of the civilized world is predominantly socialist in essential industries, and while there are complaints, many such enterprises have far higher reliability and lower costs than similar ventures in the U.S.
There has been oppressive socialism, and some horrible mismanagement, especially in the old Soviet Union, where the agricultural system was particularly clumsily handled.
But NO, socialism is NOT the opposite of freedom at all.
See the remarks on "slavery" and "totalitarianism", which are substantially correct and are closer to opposites of "freedom".
It doesn't matter. No one in this campaign is discussing socialism except in a very weird and uneducated manner, so it isn't even relevant.