Any alcoholic spirit which undergoes distillation can be classified under liquor. So for eg. whisky, vodka, rum, gin, tequila all fall under the category of liquor since they all undergo distillation.
Whereas liqueurs are sweetened, flavoured spirits. Some well known examples of liqueurs would be Baileys, Cointreau, Kahlua, Sambuca and Amaretto.