Bernoulli's equation is a statement of conservation of energy for a flowing fluid, but it is valid only under specific idealized conditions, one of which is incompressibility.