Sugar production has lost out to dairy production and other livestock products as the main source of income in the agricultural sector .