A Damp Proof Course (DPC) is primarily used to prevent moisture from rising through walls and floors in buildings, protecting them from rising damp. It acts as a barrier, blocking moisture from entering a structure, and is crucial for maintaining a dry and healthy building environment.