Communists and genuine socialists will say --
Socialism is the extremely slow transitional phase between Capitalism and Communism, taking 100 years or more to achieve. It is also where people are still paid according to their abilities (a doctor is paid far more than a cleaner).
People use a wide number of definitions with many using a PART definition of communism, but leaving out the "Distribution and Exchange" elements. It is certainly NOT -- the government control of the means of Production. That comes in the mid to latter stages of socialism, as does free education, healthcare, social welfare, social services etc.
Police, Fire Brigade, Ambulance, Military, roadwork, railways, etc are part of any, and all, political and economic systems from far left communism to far right fascism/capitalism.