It is a specific type of fasting. Saying only "fasting" can mean a lot of things, saying "water fast" means you only drink water.
https://en.wikipedia.org/wiki/Fasting