Sometimes the fun is in the ride itself. Sometimes the fun is the "get 'er done" attitude it takes to complete a challenging ride. Sometimes the fun is the sense of well-being and power that a good exercise session can leave you with.
The best rides are where all three happen. That transcends mere fun and makes riding almost magical.