How to fetch data in firebase

I am using angular 9 and angular fire, I have an array of emails with the help of this I want to fetch the user information from the user table. so how can I get this?

email=[[email protected],[email protected]]

Expected Output:-

[{name:'abc',age:20} , {name:'xyz',age:20}]

Source: Angular Questions