Emotions are a critical component of our everyday lives. They consist of deliberate reactions towards different objects or situations and affect our daily choices and behaviors. Recognition of the emotions can be utilized in many diverse situations and can change the outcome to certain issues. This research study utilizes visual cues to detect the current emotion of the driver. The main goal of this paper is to first detect the emotion and the drowsiness of the driver. Depending on this outcome, this study intends to create a dynamic environment that can adapt to the drivers' current state (emotion and drowsiness level) using a system of alarms. This paper will entail creating this environment with respect to vehicles on the road and its main focus will be to do this without causing any hindrances to the drivers. Real time detection and corresponding action to it is an additional challenge to overcome.