Do you have online when you buy?

When you buy minecraft can you play online do you have to download something to play online?

When you buy minecraft pc do you have online?

If its pc then you can play on other peoples servers without downloading anything but if you are planing on hosting a server you'll need to download the server here https://minecraft.net/...t/download but if you're on xbox you'll need xbox live