MongoDB query for nested array for specific object

Hello Members,
I am a new mongodb user, this why I am asking this question. I have a document, in this document I have 3 objects under one _id.
10

When I am filtering { "people.age": { $in: [24] } } I am getting full this document. But I want to see only the matching object. Is it possible to show only the matching object? If you kindly explain me it will be helpful for me.

You need a $project with a $filter.