An altered chord is a dominant chord that has the 5th and the 9th flatted or sharped. An altered chord may contain any of the following:

b5, #5, b9, #9

They may be in any combination. It is more common to have one of each, for example an altered 5th and an altered 9th rather than both being altered 5ths (or altered 9ths).

The altered chords create more tension and dissonance and in jazz harmony they are preferable to a generic dominant chord with either diatonic tensions (9 and 13) or no tensions whatsoever.

However, in more recent times, even such altered harmony has become commonplace, and more dissonant chromatic harmony is being explored by jazz players such as David Liebman and Randy Sandke.