To answer your question bitcoin has a blockchain technology that I think cannot be hacked in any way.

but If you store your bitcoins in a centralized place/ wallet it might get hacked

but if your wallet is secured properly bitcoin cannot be hacked!

That's right, bitcoin is a perfect blockchain system, it can not be attacked or infiltrated by anyone, and it is not managed by anyone. However, depending on how and where it is used, the sites involved may be completely attacked.