Acids are substances that donate hydrogen ions (H+), and bases are substances that accept hydrogen ions.