In safety-critical applications, you have to ensure that the system does what you want it to do and that it does it on time. A real-time operating system is a specialized OS that does just that by processing data and performing operations within specifically defined time constraints.