Its an expression with a literal meaning. Like ,
"Spill the beans", it means to spill out your secret.
"Chase your tail" , Spending a lot of time and energy doing a lot of things but actually achieving too little.
"Get ducks in a row", getting your things well organized.