Database

[{"cId":23456,"description":"car","brand":[{"bId":23,"bName":"toyota","model":[{"mName":"camry","vId":"12"},{"mName":"corolla","vId":"13"}]},{"bId":24,"bName":"honda","model":[{"mName":"accord","vId":"14"},{"mName":"civic","vId":"15"}]}]}]

Query

db.collection.aggregate([{$match:{"brand.model.mName":"civic"}},{"$addFields":{"brand":{"$filter":{"input":{"$map":{"input":"$brand","as":"b","in":{"$mergeObjects":["$$b",{"model":{"$filter":{"input":"$$b.model","as":"m","cond":{"$eq":["$$m.mName","civic"]}}}}]}}},"as":"fb","cond":{"$ne":["$$fb.model",[]]}}}}}])

Result