Each parent has two copies of every chromosome but only gives one to each child. Which gene a child gets from each parent is random.