If fasting is observed according to all the orders and etiquettes, then of course it becomes easier to be safe from sins.
There is a saying of Prophet Mohammad (pbuh):
الصوم جنۃ ما لم یخرقھا
Meaning: ‘’Fasting is a shield (from sin), until it is torn.’’
Health care professionals explain that fasting has a beneficial effect on physical health. Everyone experiences that during Iftar (time of breaking fast), number of delicious food enters an empty stomach. The stomach which is empty for twelve to fifteen hours and no harm or discomfort happens to it. This is only due to the blessing of fasting. Fasting is as beneficial for physical health as for purgation of innerself.