The Ace of Spades is the highest card in the standard game of Spades. In a standard 52-card deck, spades are always trump, and spades rank from Ace high to 2 low.

Rank Card
Highest Ace of Spades
Second King of Spades
Next Queen, Jack, 10, 9, and so on
Lowest spade 2 of Spades

Because spades are trump, the 2 of Spades beats the Ace of Hearts. The Ace of Spades beats every other card in standard Spades.

Some house rules and Spades variants place jokers above the Ace of Spades. Jokers are not part of the standard 52-card game.