The correct answer is D. Pascal's law.

Pascal's law states that pressure applied to an enclosed fluid is transmitted equally in all directions. This means that if you apply pressure to a small piston in a hydraulic system, the same pressure will be transmitted to a larger piston. This is how hydraulic brakes work. When you press the brake pedal, you are applying pressure to a small piston in the master cylinder. This pressure is transmitted through the brake fluid to a larger piston in the brake caliper. The larger piston then pushes the brake pads against the brake rotor, which stops the wheel from turning.

Thomson's law states that the temperature of a gas is proportional to the average kinetic energy of its molecules. This law is not relevant to the operation of hydraulic brakes.

Newton's law of motion states that a force is equal to the mass of an object times its acceleration. This law is also not relevant to the operation of hydraulic brakes.

Bernoulli's theorem states that the total energy of a fluid is constant. This theorem is relevant to the operation of hydraulic brakes, but it is not the primary principle that governs their operation.

Therefore, the correct answer is D. Pascal's law.