the literal meaning of sawm is to restrain oneself from something. for example, allah tells us in al-quran that maryam said,
the fast here means to be silent, that is, to abstain from speaking. islamically, sawm means to abstain from food, drink and sexual relation between dawn and sunset.