Is sherry wine and sherry vinegar the same thing?

No. Sherry wine is a drinkable sherry, that can be used in cooking, while sherry vinegar is used only for cooking.