A real-time system is software where the correct functioning of the system depends on the results produced by the system and the time at which these results are produced. The main objective of this study is to show the importance of real-time system as an application that uses computer system in the human life. Since it helps to control vital and dangerous aspects, that otherwise can not be controlled.The motivation for this study is to avoid fire occurrence and smoking habits in certain places. Since by using this system the place and time of event can be determined in short period. For that reason, the need for using real-system raised.