Growing your own food is just smart and a great way to not have to rely on the stores to have what you want. Just because you live in an apartment or don't have much land doesn't mean you can't grow your own food. There are plenty of vegetables that do great in containers, such as tomatoes, peppers, onions, lettuce, spinach, beets, and of course many herbs.
Take into consideration how big the plant gets and plant accordingly into the right size pot. Make sure it has a drainage hole or two, and never let your veggies dry out. Over-watering can be just as dangerous. A good rule of thumb to avoid over-watering is to plunge a popsicle stick into the soil. If soil sticks to it, it doesn't need watered.
If you have a spot in the yard at least 4x4 feet, you can have a great little raised garden bed and plant a variety of veggies.
Keep in mind that plants have friends and neighbor well with some better than others. This is called Companion Planting. An example of this is tomatoes like to be planted near carrots, celery, cucumbers, onions, peppers. Do not plant corn or potatoes near your tomatoes. Beans do well with celery, corn, cucumbers, radish, strawberries and summer savory, but will not do well with garlic and onions. Planting mint near your cabbage will enhance the flavor of your cabbage. Marigolds near your tomatoes will deter tomato Aphids.
If you are new to gardening, container and small, raised bed gardening are great ways to start. Try an online search for Companion Gardening and Container Gardening...there is an entire world of information out there. Remember to start with non GMO seeds so you can save your seeds for next year's planting.
Teach your kids everything you learn; pass it on to them so they, too, can one day be self sustainable. Also, try canning to preserve your hard work and enjoy it in the winter.