The ends of a DNA molecule are called 3' and 5' ends, based on the numbering of carbon atoms in deoxyribose sugars.