Fasting is mandatory for all Muslims who are able and capable.
Exemptions are made for the insane, children, elderly, travellers, sick, pregnant women, and nursing mothers. Those falling in the exempted category may fast during other months or feed at least one poor person everyday in Ramadan for which they have missed fasting.