The role of batteries in a UPS

WHAT IS THE BEST OPTION IN UNINTERRUPTED POWER SYSTEM (UPS)?