My dictionary defines science as "the observation, identification, description, experimental investigation, and theoretical explanation of natural phenomena." It goes on to qualify: "Such activity restricted to a class of natural phenomena." or "Such activity applied to any class of phenomena or any methodological activity, discipline, or study."
The same dictionary defines science fiction as: "Ficton in which scientific discoveries and developments form an element of plot or background; especially, a work of fiction based on prediction of future scientific possibilities."
Science isn't discovery so much as discoveries are the result of science--or more precise, are the result of the application of the scientific method to a problem. Archimedes made discoveries in mechanics and hydrolics, Newton discovered calculus (among other things, and it can be argued that he invented calculus and that other mathematicians discovered how useful it is in solving scientific problems--but that's another story), Edwin Hubble discovered the universe is expanding...and all of those discoveries were arrived at by application of some scientific method.
Columbus discovered North America (but it wasn't called that, then), Cook and Grey did not discover the northwest passage but it wasn't for lack of trying, Roald Amundsen discovered the south pole, and I discovered I'm out of beer. But none of those discoveries were achieved by the direct application of the scientific method--they were made by the application of stubbornness, by dumb luck or in the case of my beer, forgetfulness.
Morse invented his code (he had to do something with the telegraph he invented previously), Edison invented lots of things (light bulbs and telephones come to mind), and the Wright brothers invented a functional powered airplane. Behind those inventions was a lot of science. But we tend to use the term 'technology' in describing the results of such efforts, and sometimes, that's too bad. Because it is often the case that technology gets the gold star while science is pushed back behind the curtain and looked at with suspicion.
________________________________________
ETA: Dama must own the same dictionary I do. lol