What are the differences between online gaming and offline gaming?

What are the differences between online gaming and offline gaming? I’m thinking of buying some online games…