If you plan to give away, sell or trade in your Mac, you should de-authorize your iTunes account on the computer first, as this removes its access to content that you bought from the iTunes Store, iBooks Store, or App Store, including things like music, movies, TV shows, apps, and books.
Apple puts a five-computer limit on an account for accessing iTunes protected content, so it's worth...