Cells duplicate and condense their DNA prior to entering mitosis. During mitosis, chromosomes attach to a spindle of microtubules that distribute them equally to two daughter cells.