God did not like that, so He brought into existence multiple languages. Thus, humans were divided into linguistic groups, unable to understand one another. The Tower of Babel was a punishment.
Was the tower real? Yes. It stood in Babylon in what is modern Iraq. The City of Cities, as it was called by the people of the time, eventually collapsed.