Which of the following best describes an advantage of federalism?

A. It provides a uniform form of government.
B. It contributes to greater efficiency.
C. It encourages national unity.
D. It allows states to experiment with different policies.