Before a cell divides, chromosomes (DNA) line up along the center of the nucleus, duplicate themselves, and then are pulled to each side, to form two nuclei with complete sets of DNA in each.