The principle of covariance essentially means that when measuring something, it's important to keep everything that can change constant. For example, if you're measuring how much sugar is needed to bake a cake, you need to keep everything else the same, like the temperature of the oven, the type of flour used, and the recipe you're following.
In science, this principle is used to make sure that we're measuring only what we want to measure, and not accidentally measuring something else that might be changing. This can help us understand how different factors affect the thing we're measuring.
Let's say you're trying to measure how much exercise affects heart rate. You need to keep everything else constant so that you can see the true effect of exercise on heart rate. If you're also changing the temperature, the amount of food you ate, or the time of day, then you won't know if any changes in heart rate are due to these other factors, or to the exercise.
So, the principle of covariance is just about being careful when trying to measure something, and making sure that we're only measuring what we intend to measure.