An attribution model decides which touchpoint gets the credit for a conversion. Last click says the final click gets all of it. Data-driven attribution, DDA for short, says let the model look at which paths actually led to conversions and divide the credit accordingly.
In GA4 the default is now data-driven. In Google Ads every conversion action has its own setting, and it can differ.