An invention that improved safety for railway passengers is Air brakes. With the use of air brakes using compressed air, become more effective by preventing many train accidents.
Charles Babbage, the father of computer, invented the first general-purpose computer in an effort to prevent the mathematical errors that were prevalent in the human-calculated mathematics of his time.