It is actually both! 

If you had a password given to you, you’ve created a cloud account. If you created your own password, you have created a local wallet. 

We recommend creating a local wallet assuming you have a strong password. Always download a backup of your wallet to a safe place.