Final answer:
Gandhi used nonviolent protests and fasting as a form of protest during the conflicts between Hindus and Muslims in India. He went on a hunger strike and withdrew from political activities to promote peace and remain true to his principles.
Step-by-step explanation:
Gandhi was a key figure in the Indian independence movement and fought for India's freedom from British rule. During this time, there were conflicts between Hindus and Muslims, which Gandhi tried to resolve through his nonviolent approach. As a result, Gandhi faced various challenges and actions. Among these, he went on hunger strikes to protest violence and promote peace, such as the Salt March protest against the British salt monopoly in 1930. Additionally, he withdrew from political activities when he felt his principles were being compromised.