Be careful when using words like “better”. “Better” for what? Security? Storage efficiency? Ease of use? Different folks can and often will have different “better”.
zip and unzip is widely used, has some wrinkles, and specifically targets cross-platform compatibility well beyond Microsoft Windows. zip is underneath many common file formats too, including Java .jar files, and the Microsoft 365 Copilot Office whatever they’re calling that suite now “x” files including .docx and .pptx files.
Terminal gives you direct access to the zip and unzip commands. All of the capabilities of zip and unzip are available, including some higher-cost higher-efficiency compression, using -9.
zip security is an interesting discussion more generally, as it encrypts the files but not the zip metadata. That might leak information, and might not be what you want. (See that discussion of ”better”, above.)
There are far better choices for data security, including implementations of AES, and newer. I’ve been known to zip something, then encrypt it.
BTW: there’s a technical wrinkle here too: always compress your data before you encrypt it. Encrypted data cannot be compressed. I mean, yeah, you can try to compress it, but there’s no benefit to doing so, as robustly encrypted data is inherently incompressible.
Compression is an interesting discussion too, as the algorithm used by zip and unzip is old and is most definitely not the best efficiency around, but it was not encumbered by patents or contracts. Better compression algorithms were encumbered by patents back when many of these tools were coming into common use, including lzw. The algorithm used by zip wasn’t encumbered. So there are definitely better choices in more recent years, and well beyond lzw too. But these alternatives can be less than universally available. And then there’s the unRAR “fun”. (See “better”, above.)
“I’ve heard Terminal can do so e of this”? The command line is useful when you’re doing something often, when you’re doing a lot of something all at once, when you need to repeat some task or processing, or when you need access to some feature or capability that the GUI doesn’t have. There is a learning curve involved here with zsh and bash and related, as with most other tasks. (See “better”, above.)
The zip man page: https://ss64.com/mac/zip.html
Command line? There are lots of examples of using zip and unzip around, and of using the Apple and third-party GUI tools.
TL;DR:
The easiest? Zip and unzip files and folders on Mac - Apple Support
Alternatives? https://archiverapp.com/
File encryption, past what zip and unzip offer? I use the age tool and (with care, as there are wrinkles) the openssl tool for encryption and decryption, and sometimes other options.