In a data center, a UPS provides backup power to servers and networking equipment. It ensures continuous operation during power interruptions and helps prevent data loss and hardware damage.