Creating a filesystem writes new allocation and metadata structures to a block device. It is a destructive initialization step, not merely a label change. Use only disposable storage for practice and maintain a tested backup before formatting a device that ever held valuable data.
The Filesystem · Lesson 5
Creating Filesystems
Learn how to verify a block-device target and create a filesystem with format-specific tools.