What are Amphoteric elements?

These are the elements that can act as a base as well as an acid. If they react with an acid , they behave as a base . And if they react with a base they behave as an acid . Oxides of aluminum and gallium are amphoteric in nature.