What is Bernoulli’s theorem and where it is applicable?

Bernoulli’s theorem states the “total energy of a liquid flowing from one point to another remains constant.” It is applicable for non compressible liquids.