Задание

Fill in the gap with the right form of the verb.

It was raining while they ___________________ (to hike) through the forest.