house hacking is a strategy that involves renting out portions of your primary residence to generate income that is used to offset the cost of your mortgage and other expenses associated with owning a home