Like-kind is broad for real estate. In a 1031 exchange, what qualifies is “real property” held for investment or used in a trade/business, exchanged for other real property that will also be held for investment or business use.
Examples that generally qualify: you can swap a rental house for an apartment building, raw land, retail, industrial, or an office property—as long as both sides are investment/business real estate.
Big “does NOT qualify” buckets: your primary residence/personal-use property, and property held primarily for sale (like flips/inventory). Also, after the TCJA change, Section 1031 applies to real property—not personal property like equipment.