Transcript for The miraculous moment when 12 boys, coach were out of Thai cave: Part 6

Reporter: It's day 18. And the mood is jubilasi the hoal. Everyone their cell phones out like we were at a concert. And uld see people Chee ahe sides othe road and they were all ating the fact the fil ambulance had come through. Reporter: Seems after days of being Ted inside the mountain, wild boars and eir coach may be on the road to recovery, but therdealas taken its toll. Each of them had lost about tw founds in body weight. They were somewhat malnourished after having so many days without real food. We understand the coa actuallyprobably among the weakest because he gave his food away. Wso know that for of , ame out wing sunglasses because their eyes needed to adjulight again. Eporter: Afterng cloistered inside that tiny, steamy cave, a virtual petri O organisms creates the risk of air fungus. Wt today at the news conference that they surviveddrinking rainwat that flowed from the roof of that cave. So little iown about these caves that doctors have reallyidea of what kinds illnesses they have picked up and that's part of the reason why they've been in antine to for that blood teefan even hug or kiss their families. We've already heard reports of tf the boys having eumonia. Pneumonia can be caused by several different ogens. The Oney're mostoncerned about is fungus. There is one particular type of fungus, it'sled stoplasmosis that LI caves. And when the environment is disrupted the spread and can be inhaled and infect the lungs of the Boyd coach. Reporter: Days of starvation have inhibited their ability to die digest food. Doctoelhat they'r giving them a very bland diet. It's really mostly made up O riceridge called congee. Repr: For now, the ki can only dream about what they crave -- a traditional spicy treat of basil fried rice. While families remain thankful to the spirits for their blessings. There is a common practice of sending boys their age to a monastery to study U monks. There is a STO cirlating that one of theoys' families would like T thank buddha by spen him te monas T spent time with monks. What betteray to end this story. Reporter: We're learning for the first time toght, the boys will be reunited with their families. And you can bank a round of hugs 18 days in the making. Nooubt thoseugs

This transcript has been automatically generated and may not be 100% accurate.