How would you know when you lose weight that you are actually losing fats and not muscles? Is th...

How would you know when you lose weight that you are actually losing fats and not muscles?

Is there a way to know?