Borrowed from Old French dain, from Late Latin dāmus, a masculine variant of Latin dāma (“fallow deer, buck, doe”). Originally masculine in Old Catalan, daine shifted to daina under the influence of words like cabra (“goat”), ovella (“sheep”), etc. via the plural form daines.