Does this pertain to HDDs as well ?
It can. The crucial factor is whether the disk is an "Advanced Format" type. Not all HDDs are AF (though probably anything 500GB+ almost certainly is), and AFAIK all SSDs are AF, regardless of size.
Traditional disk drives have long used storage allocation units (sectors) of 512 bytes ... long enough that operating systems came to assume that and hard-coded that value into their disk access routines. For various engineering reasons tangential to this discussion, drive manufacturers have switched to using allocation units internally (inside the drive itself) of 4096 bytes.
However, older OSes (Win7 and earlier) were designed to expect 512-byte sectors, so for backward compatibility many drive manufacturers use drive controller firmware that makes each internal 4KB sector appear to the outside world as eight 512-byte sectors. These types of AF drives are known as "512e" (emulated 512-byte), while AF drives that do not have 512e controllers are often called "4Kn" (native 4KB).
The reason this matters is that all drives can only read/write full sectors at a time, so if the OS wants to write/rewrite a single "fictitious" 512-byte sector, an AF-type drive would have to write an entire 4KB "real" sector without changing 7/8 of it. That requires the drive to read into a cache the relevant 4KB sector from the disk, alter the 1/8 of the cache copy the OS wants changed, then rewrite the full 4KB cache back to the disk.
As inefficient as that may sound, it's not all that bad because modern OSes (XP and up) and file systems (NTFS) never read/write one 512-byte sector at a time anyway; they're designed to read and write in 4KB blocks--i.e., what they perceive as 8 sectors at a time. This is ideal for AF drives,
provided the 8 512-byte sectors the OS wants to access line up exactly with a single AF sector on the drive.
To illustrate the impact of misalignment, consider what happens if the 8 sectors an OS wants to write span, let's say, the last four 512e sectors of one AF sector and the first four 512e sectors of the next AF sector. To write those 8 512e sectors, the drive controller would have to read and cache *two* AF sectors, save half and modify half of each one, then write both AF sectors back to the disk.
Contrast that with a properly aligned partition, in which no read-and-save would be necessary and the 8 512e sectors can be written straightaway to a single AF sector.
As you can see, that can drastically affect disk performance. So yes, partition alignment is important when using modern hard disks. The performance hit is even more dramatic with SSDs because TRIM and "garbage collection" come into play, whereas those technologies aren't a factor in traditional magnetic HDDs.
Many tools can be used to determine if your partitions are already aligned. To keep things simple, let's stick with ThrashZone's suggestion of MiniTool Partition Wizard--which is an excellent, all purpose partitioning tool anyway. Right-click on any given partition and select "Properties". In the Properties window, select the "Partition Info" tab. Note the values for First Physical Sector and Last Physical Sector.
A properly aligned partition will align on 1MB boundaries (2048 512e sectors). So take the First Physical Sector value and divide by 2048. If it's an exact multiple, the front of the partition is aligned. Take the Last Physical Sector
plus 1, and divide by 2048. If it's an exact multiple, the back of the partition is aligned. Repeat for each partition.