A group of three people and one dog hike up a green mountainside.
People are having a picnic.
Having a picnic is a different activity than going on a hike.
People having a picnic are not hiking up a mountainside.
The people either hike up a green mountainside or are having a picnic.