are there tax breaks for buying a home selling a home owning a home

What are the best tax breaks for homeowners/home buyers/home sellers? And what do homeowners need to know about each?