AP PHOTOS: A look at temporary holding cells for immigrant children in Texas, Arizona

Detainees sleep in a holding cell at a U.S. Customs and Border Protection processing facility, Wednesday, June 18, 2014, in Brownsville,Texas. CPB provided media tours Wednesday of two locations in Brownsville and Nogales, Ariz. that have been central to processing the more than 47,000 unaccompanied children who have entered the country illegally since Oct. 1. (AP Photo/Eric Gay, Pool) (The Associated Press)

Detainees sleep in a holding cell at a U.S. Customs and Border Protection processing facility, Wednesday, June 18, 2014, in Brownsville,Texas. CPB provided media tours Wednesday of two locations in Brownsville and Nogales, Ariz., that have been central to processing the more than 47,000 unaccompanied children who have entered the country illegally since Oct. 1. (AP Photo/Eric Gay, Pool) (The Associated Press)

Customs and Border Protection officials gave tours Wednesday of Border Patrol facilities in Texas and Arizona that hold thousands of immigrant children until they are transferred to shelters.

The minors were caught entering the country illegally amid a surge of immigration from Central America in recent weeks. They are held at the facilities in Brownsville, Texas, and Nogales, Arizona, until they are processed and taken to detention centers across the country.

___

Follow AP photographers and photo editors on Twitter: http://apne.ws/1ox8vgG