Which statement is true for both mitosis and meiosis?