Four elements work together: abstention, the defined prohibited acts, the relevant daylight period, and intention. None is a substitute for another.
For example, someone may refrain from all meals but deliberately drink water during the fasting period. Avoiding food alone does not preserve a fast after a deliberate daytime drink; the individual conditions matter.