A young child plays on a beach next to an empty chair.
A young child is visiting the beach with his family on their summer vacation.
You can not infer it's with his family.
There may not be his family, and may be on other occasion rather than summer vacation
A young child doesn't have to be with the family for a vacation to play.