how brain process to any situation