In the Books of Kings Elijah had been travelling for 40 days and nights, when he takes shelter in the cave on Mount Horeb for the night. Upon awakening he is talked to by God.
The exact location of the cave is unknown. There is a "Cave of Elijah" on Mount Carmel in Haifa, venerated for centuries by Jews, Christians and Muslims. Another cave associated with Elijah is located nearby under the altar of the main church of the Stella Maris Monastery, also on Mount Carmel.