Trimming and Curing

Can you explain the relationship between trimming and curing in the cultivation of cannabis buds? How does one impact the other and what role does trimming play in the curing process?