Tomatoes require nutrient-rich soil in order to produce healthy, flavorful fruit, so if you aren’t going to buy garden soil, you’ll need to amend the soil. Nitrogen, potassium, and phosphorus are all necessary for optimal tomato production, so use things like compost and bone meal to richen the soil.