If you're growing hybrid tomatoes, the seeds you save won't be the same as the tomatoes you grew. If you're growing heirloom tomatoes, the seeds can be saved and will produce an exact replica. See here for exactly how to save tomato seeds.