Section 1231 property is the tax code's category for long-held business assets. Section 1231(b) calls it "property used in the trade or business" and defines it as depreciable property and real property used in a trade or business and held for more than 1 year, other than inventory, property held primarily for sale to customers, and certain patents, creative works and government publications in the hands of the people who created or received them. It also includes timber, coal and iron ore covered by section 631, cattle and horses held for draft, breeding, dairy or sporting purposes for 24 months or more, other such livestock held 12 months or more (never poultry), and an unharvested crop sold with the land under it.
The category exists to give business owners the better of two treatments. Section 1231(a) nets the year's section 1231 gains against its section 1231 losses. If the gains are larger, every one of those gains and losses is treated as long-term capital gain or loss. If they are not, none of them is a capital item, so the net loss is ordinary and offsets other income in full. A capital asset held for investment gets no such choice, and a personal home is neither.