When you're optimizing a page for a short-tail keyword rather than a long-tail keyword, you're trying to get that page ranked higher in search results for that particular search query.
On the other hand, when you're optimizing a page for a long-tail keyword, you're trying to get that page ranked higher in the search results for a more general search query.
You can think of long-tail keywords as being more specific search queries that consist of three or more words and short-tail keywords as being more general search queries that consist of one or two words.
A Short-tail keyword is a broad term and a long-tail keyword is more specific to the topic.
Users generally typing long queries knows what they are searching for.
Long-tail keywords are helpful to target those users and convert them into your potential customers.
It is important to target long-tail keywords in a webpage.
Learn more differences between Short Tail and Long Tail Keyword.