The function of centrosome, during cell division, is to maintain the chromosome number. Replication of DNA during cell division is accompanied by the splitting of the centrosome into two, each having one centriole. The two centrosomes attach themselves to the opposite poles of the nucleus.