It provides warmth, deters wild animals and insects, serves as a signal, cooks food and purifies water. Starting a fire successfully can increase morale and the light and warmth has a comforting effect that can stave off panic and depression. It also gives a feeling of being productive and focuses attention on a task to calm the mind and encourage rational thinking.