An examples of an analogy used to explain a scientific principle:
"THE whole of a great object or event fills us with wonder and astonishment, when all the particulars, in the succession of which the whole had been produced, may be considered without the least emotion. When, for example, we behold the pyramids of Egypt, our mind is agitated with a crowd of ideas that highly entertains the person who understands the subject; but the carrying a heavy stone up to the top of a hill or mountain would give that person little pleasure or concern. We wonder at the whole operation of the pyramid, but not at any one particular part.
THE raising up of a continent of land from the bottom of the sea, is an idea that is too great to be conceived easily in all the parts of its operation, many of which are perhaps unknown to us; and without being properly understood, so great an idea may appear like a thing that is imaginary. In like manner, the co-relative, or corresponding operation, the destruction of the land, is an idea that does not easily enter into the mind of man in its totality, although he is daily witness to part of the operation. We never see a river in a flood, but we must acknowledge the carrying away of part of our land, to be sunk at the bottom of the sea; we never see a storm upon the coast, but we are informed of a hostile attack of the sea upon our country; attacks which must, in time, wear away the bulwarks of our soil, and sap the foundations of our dwellings. Thus, great things are not understood without the analyzing of many operations, and the combination of time with many events happening in succession."
James Hutton (1788) Theory of the Earth
Read examples of scientific analogies
Many examples of science analogies are listed in 'Creative comparisons: Making science familiar through language. An illustrative catalogue of figurative comparisons and analogies for science concepts'. Free Download.