Encryption transforms data so that only someone with the key can read it, and it is reversible. It can be symmetric (one shared key) or asymmetric (a public and private key pair). Hashing produces a fixed-length value and is one-way: the original text cannot be recovered.
In SC-900 you are asked what each one is for: salted hashing is used to store passwords and verify integrity; encryption protects data at rest, in transit (TLS), or in use. Whatever is encrypted with the recipient's public key can only be decrypted with their private key.
Encryption vs. hashing is a concept that can show up on the exam. Check the full guide to see it in context.