Compare and contrast the Chinese government bureaucracy under the Tang and Song dynasties. How was it similar? How did it differ? And put it into 2 sentences.

The Chinese government bureaucracy under the Tang and Song dynasties was similar in that it was hierarchical and based on Confucian principles, with officials selected through civil service examinations. However, it differed in terms of its size, extent of centralization, and emphasis on meritocracy, with the Tang bureaucracy being larger and more decentralized, while the Song bureaucracy was more efficient and focused on selecting officials based on their qualifications.