In glucose the carbon atom attached to the lowest `CH_2-OH` group is found to contain H atom on left side. So it is correlated to glyceraldehyde molecule and give D- symbol. D-glucose means not dextro rotatory glucose. D-symbol has nothing to do with optical activity of compound