What is the function of ATP?

A) Provides genetic information for cells
B) Chemical messenger for cells
C) Provides cellular structure
D) Provides chemical energy for cells