Why is China gifting political buildings across Africa?

//Why is China gifting political buildings across Africa?