In Marxism, the state apparatus, more commonly known as simply the state, is a system by which the ruling class maintains and perpetuates its dominance within the social formation. It functions by subjugating the other class(es) within class society, and reproducing ruling class ideology.
Once socialism reaches the point where there is no struggle between the classes because only one class remains—the working class—there is not longer a state. But that doesn’t mean there’s no government.
If we’re being precise, a communist government can exist. What can’t exist is a communist state.
https://en.prolewiki.org/wiki/State
Once socialism reaches the point where there is no struggle between the classes because only one class remains—the working class—there is not longer a state. But that doesn’t mean there’s no government.