@yasar You can make a UPS with a car bettery. But a starter battery [car battery] will last only few cycles in a UPS. A starter battery is designed for high output current, but not for deep discharge. Deep-cycle batteries are normally used in UPS. (Some details in
this old answer.)