Welcome to Healthcare Magic Forum,
Your child unfortunately has a serious infection in lungs and probably multiple problems also. I'm sure proper treatment is going on for her. She needs a good cardiac evaluation also. Please follow what your treating pediatrician
says. I Hope she gets well soon. Take care.