How is fish veg?

This post is about exactly what the title says. Since when did fish become a vegetarian dish? The last time I checked, fish belonged to the animal family. And unless it has changed zoological classifications overnight, there is no way