What makes a compound an acid?

A compound is an acid when it has a pH level lower than 7 and contains hydrogen ions (H+). Acids also have the ability to donate protons and form hydrogen bonds.