"Hiking" means walking over rough ground, like in the mountains, in a desert, through a forest, etc. People usually hike for fun.
"A hike" means one complete session of hiking. This can last for a few minutes or for several days:
We did a ten-day hike along the Appalachian trail last summer. It was gorgeous.