If a tree falls on your parked car, comprehensive coverage is what pays for the damage, not liability or collision insurance. Comprehensive insurance covers damage from events outside your control, like falling objects, weather, fire, vandalism, and theft. If you only carry liability coverage, which is the state-required minimum, a fallen tree will not be covered at all and you'll pay for repairs out of pocket.
It generally does not matter whose tree it was. Even if the tree came from a neighbor's yard, a city-owned parkway strip, or a wooded area down the street, your own comprehensive coverage is almost always the first and fastest path to getting paid. Auto insurers rarely pursue the tree owner for reimbursement unless there's clear evidence of negligence, such as the owner ignoring repeated warnings that a visibly dead or diseased tree was about to fall. In the vast majority of cases, a fallen tree is treated as an "act of nature" and nobody is at fault, which makes a liability claim against a neighbor unlikely to succeed.
To file a claim, you'll pay your comprehensive deductible, and the insurer covers the repair cost above that amount, up to your car's actual cash value. If the repair cost exceeds what the car is worth, the insurer may declare it a total loss and pay you the vehicle's current market value instead. Take photos of the damage and the tree before anything is moved, get a police report if debris blocked a street or caused other hazards, and get a repair estimate from a body shop as soon as possible.
Comprehensive coverage is optional unless you're leasing or still financing the car, in which case the lender typically requires it. If you own your car outright and have an older vehicle worth only a few thousand dollars, it's worth comparing your annual comprehensive premium plus deductible against the car's value to decide if the coverage still makes financial sense.
One nuance: if the tree falls while you're driving and you swerve or crash trying to avoid it, that's a collision claim, not comprehensive, since the damage resulted from your vehicle hitting something while in motion. Comprehensive specifically covers the stationary, parked-car scenario where the tree falls directly onto the vehicle without you doing anything to cause it.
If your car was parked in your own driveway versus a public street, coverage works the same way under your policy. Where the car was parked doesn't change whether comprehensive applies; it only matters if you later try to pursue a separate claim against a property owner for negligence, which is a much harder case to win and rarely necessary when you already have comprehensive coverage in place.