Hi,
ds0 groups is to terminate voice on CAS T1. Application is voice gateway.
tdm-group does timeslot multiplexing, and will send the timeslots unchanged to a destination also specified in configuration. Application is T1 or E1 add-drop multiplexer (and more).
Hope this helps, please rate post if it does!