It also has nothing to do with science either, since you can have logical conclusions in Social Studies, English, or any other subject. The word proof is used a lot in law , and the idea isn't a lot different if we use it in science. In science we collect empirical evidence through the process of experimentation. If we collect enough evidence, we will probably notice patterns or regularities in the evidence, and then we will develop generalizations that describe what we have observed. These generalized descriptions of observed events are called scientific laws.
Scientific laws describe things.
They do not explain them. Notice that this doesn't tell us what gravity is, but it does describe its behavior. Even today the topic of what gravity really is, is an active topic for scientific discussion. At least we can do this if we define a fact as an observed event. That is pretty much what it means in a court of law.