Hi there Nikityy48,
As just alexoiu already mentioned, your SATA 3 HDD will be compatible with your SATA 2 MOBO. The speed would be limited to SATA 2 though. This should be also fine because HDDs can't reach that speed.
Some speed limitation could occur when using some SSDs.
Cheers,
D_Know_WD