real estate v. realty (definitions?)

are those two terms interchangable? i’m not quite sure what teh difference (if any) is between the two, my textbook has used both of them in interchangable-seeming ways

I understand them to be interchangeable.