D indicate the configuration of carbohydrate. it represents the position of second last -OH group in any carbohydrates. If -OH is present on right side then it is called D type configuration and if it is present on left side then it is called L type configuration.