Technically if one buys a car for say 1000 and then sells it for 1500, you’re supposed to report the 500 gain on your income taxes as capital gains. But the rule is funky and there’s lots of conditions in that.
It’s the state ones like New York and such where it’s easier for them to track due to registration and sales records