It's just that different weight loss effects and parts will be different.
Running is a comprehensive exercise, which can lose weight in all directions.
Running is a local exercise and is more suitable for reducing leg fat.
There are many ways to lose weight, the key is to see how you want to lose weight.