According to Bernoullis theorem if a non-viscous liquid is flowing in a stream lined flow then the sum of all energies of liquid (ie pressure energy, kinetic energy and potential energy) per unit mass remain constant. Therefore, Bernoullis principle is based on law of conservation of energy.