Weight loss from illness question

I had food poisoning over the weekend and lost like 5 pounds from puking and eating NOTHING. I feel much weaker in the gym following an illness and I'm wondering what kind of weight it was that I lost. Did I lose fat, muscle, water, or a combo of each? I've heard that when you fast for a certain period of time that your body begins to break down muscle and "eat itself". Just curious.