As nouns the difference between cavalier and infantry
is that
cavalier is a military man serving on horse while
infantry is soldiers who fight on foot (on land), as opposed to cavalry and other mounted units, regardless of external transport (eg airborne).
As an adjective cavalier
is not caring enough about something important.