Dynamic creative enables an advertiser to upload multiple components of ads and allow Facebook’s systems to create various combinations and test them out accordingly.
General information on dynamic creative is available here.
Best practices for dynamic creative ads are available here.