If you use your car for business, charity, medical or moving purposes, you may be able to take a deduction based on the mileage used for that purpose.