Freezing food can stop or slow down bacterial growth. Even though the food might not spoil, the quality of the food will start to degrade over time.  Here is an infographic that tells you precisely how you can freeze most common food items.
Frozen Food - Recommended Storage Times

freezerlabels.net