If pressure is exerted on a liquid in a full barrel, the barrel will burst.
Pascal's law is a law about the physics of a fluid. It says that if pressure is exerted on a fluid, this pressure will be distributed evenly in all of the fluid. It is named after Blaise Pascal who discovered it in 1666. This is how Pascal's principle works.