All computers come with a minimum of 180-day warranty. Many items are still under manufacturers warranty which can provide coverage for up to three years.
The warranty covers normal hardware failure on the computer. Examples: failed hard drive, dead motherboard, optical drive failure etc. It does not cover things such a broken screen or hinges, liquid damage, theft, fire etc.
The warranty does not cover accidental damage or data recovery.