What is the purpose of primary and secondary sync signal for OFDM symbol?

Hi Experts.

I found out that PCI is calculated in 5G NR.

Can anyone tell, what is the purpose of primary and secondary sync signal for OFDM symbol?

Primary to identify Node.
Secondary to identify Sector.