I have a rental property that I sold. I lived in the property from 5/2019-12/2021, I rented it starting 1/2021 and sold it 8/2024. Should it be sale of business or home?

I know I shouldn't be paying any capital gains taxes. I'm struggling to figure out whether it should be listed as Sale of business property OR sale of primary residence. I also need guidance on what should be included in the calculations. Thank you for your help!