After you deposit funds, you start making a profit each day you keep your funds on your earn account. 

The profits are summed up and can be redeemed after the end of the lockup period.