Water weight?

So I was wondering, how do you know you're just loosing water wieght and not burning fat? 🤔🤔🤔I used to be 187 now I'm around 170-172 and after a workout I'll drink about 2 cups of water and I'll gain my wieght back and then the next day I'll weigh myself and I'll loose more weight