It's a loan with no interest (meaning you actually keep the interest). It's a better deal than buying one cash since you can invest the money you are not using.
AFAICT, the most common installment plan is carrier-based and usually not a loan, the payments total up to the same as buying it outright at the beginning.