Which of the following oxides react with both acids and bases?
Amphoteric oxides
Amphoteric oxides are metallic oxides, which show both basic as well as acidic properties. When they react with an acid, they produce salt and water, showing basic properties. While reacting with alkalis they form salt and water showing acidic properties. For example, Al2O3 is an amphoteric oxide. When reacted with HCl, it acts as a base to form the salt, AlCl3. When reacted with NaOH, it acts as an acid to form NaAlO2.