Skunking is what occurs when beer reacts with light, causing the beer to have a foul odor and taste. The best way to avoid skunked beer is to keep it away from the light.