A group of young people pose for a picture in a field
They are taking a class photo.
The group might just have been friends, school was not mentioned so class shows that they are students.
A group of young people posing for a photo might not be in a class together.
Just because the people are young doesn't mean the picture they are taking is necessarily a class photo. They could be on vacation or simply feel like taking a picture together.