One way to prevent train derailments is making sure train wheels and bearings (the component that keeps wheels turning smoothly) don't overheat. Railroads do this by installing sensors along their tracks that assess the strength and health of wheels and bearings passing over them.