Per IRS Publication 463 Travel, Entertainment, Gift and Car Expenses, page 2:
An ordinary expense is one that is common and accepted in your trade or business. A necessary expense is one that is helpful and appropriate for your business. An expense doesn’t have to be required to be considered necessary.