Is it useful to exercise while eating junk food?

The so-called junk food is low in nutrition, high in carcinogens, high in calories, high in fat and high in carbohydrates. For people who gain muscle and maximize physical strength, eating high-calorie food does not have much effect. After all, muscles are blocked by fat, and it still works. But for people who lose weight and shape, the blow is fatal.