Weight is made up of many substances. If you lose water, muscle and fat, you will lose weight.
Weight loss is mainly about reducing fat, reducing body fat rate and the proportion of fat to body weight.
If the body fat rate decreases, your weight may not necessarily decrease, but your body will be tighter and look slimmer.