A sac is a hollow space or container. While any pocket or pouch can be called a sac, the word usually refers to a small enclosed space that occurs in nature, like a spider's egg sac or a squid's ink sac.
You might put your groceries in a sack, but without the “k” a sac is smaller and attached to a plant or animal. Human fetuses grow inside an amniotic sac, and seed plants produce pollen inside sacs as well. Since the mid-1700s, sac has been used to mean "biological pocket," from the Latin root word saccus, or "bag." If you’re not sure which sac to use, it’s almost always the other one unless you’re in biology class.