D1, D2… named coaches are generally of class 2S I.e. second seating. You can find coaches like these on short distance trains travelling about maximum 500km per trip(up or down). In second seating there are seats are arranged(fixed) in such a way that passengers face each other.