At the end of the contract the car does not belong to you (unless you want to make the purchase option valid, which could be more expensive than having bought the vehicle from the beginning).
There may be a limit on the number of miles traveled. If you exceed that number, you will pay a surcharge.
If the contract ends before its expiration, there are charges for early termination.
Differences between buying and leasing
When you buy a car, you own it; while when leasing it, you can use it, but you have to return it at the end of the contract, unless you decide to buy it.
Regarding the monthly fee, a purchase is higher because the full price, interest, taxes and duties are paid; while when leasing, only the depreciation of the vehicle is paid for the duration of the contract, rent, taxes and rights.
When you decide to cancel your contract ahead of time, in the purchase you are responsible for the amount of debt settlement; if it is a lease, it is for any early termination charge.
If it is a purchase and you want to change the car, you must sell it or deliver it as part of payment; if it is leased, at the end of the contract you can return the vehicle covering the completion costs, without any other obligation.
Regarding the route, if you buy the car you can drive as many miles as you want, although the more miles the car has, the lower its resale or delivery value as part of payment. In leasing, most contracts limit the number of miles to travel (usually between 12,000 and 15,000 per year). If you exceed that limit, you have to pay a surcharge; or can negotiate a longer travel limit.