The core of losing weight is not dieting. Dieting only loses water, not fat. Excessive oil and sugar can make people fat, but remember that excessive oil and sugar will not cause obesity as long as it is kept at a normal level.
The root of losing weight is to improve people's basal metabolic rate. Only by improving your ability to convert food into energy can physical objects not be stored in your body in the form of fat, and the most basic way of this form is muscle. Muscle is the energy minister of human metabolism, so to lose weight, you must ensure the basic conditions you need to produce muscle, including proper exercise and healthy diet.
Your large intestine needs peristalsis to defecate normally. When you are not producing oil, the peristalsis of the large intestine will become slow. And this long-term slow peristalsis will cause inertia to the muscles of the large intestine, and it will think that your body needs to crawl so slowly, thus causing constipation.