Fasting is a deliberate and controlled deprivation of food for health or religious reasons, while starvation is an unplanned and prolonged absence of food that can lead to severe health issues or death.