I once inspected a small subset of the software for a real-time system that regulated industrial machinery in a large factory. That stuff was intimidating. I can only imagine the complexity of seemingly simple gadgets that human lives depend on (e.g., power plants, avionics, medical equipment).