@lzedatTT
Read through IRS Publication 559:
https://www.irs.gov/publications/p559#en_US_2022_publink100099488