What types of batteries are typically used in UPS (uninterruptible power supply) and why?
Lead-acid is still very common.  Higher end and newer devices seem to be using lithium ferrophosphate (LiFePO4).

For building your own, lead-acid is probably the most accessible and also one of the easiest to manage electrically.