Buying a property in Italy is one of the preferred ways to get Italian Residency through investment.
Applicants can apply for a permanent residence permit after 5 years of residence in Italy. Then after 10 years from the initial visa being granted, investors can apply for citizenship.
If you are an EU citizen, you can achieve residency after only 4 years.
FYI, Italy allows dual citizenship.