Capital gains are defined as the profit realized from the sale of certain types of assets, such as stocks, bonds, and real estate. In order to be subject to capital gains taxes in Texas, you must have sold the asset for more than you paid for it.