Disk partitioning is about making a physical or logical hard disk usable by the operating system. Each disk partition can be used like a hard disk by the operating system. A hard disk can be divided into many partitions. This is especially useful for:
Usually each partition contains exactly one file system. It depends on what you use, but for some simple examples: Windows partitions will use FAT32 (File Allocation Table), and for the main system partition use NTFS (New Technology File System). For MacOS systems, the primary system partition uses APFS (Apple File System). For Linux, the filesystems can vary, but on average you'd have a boot partition in FAT format, and either EXT4 or BTRFS for the main system partition.