Non-metal oxides are acidic in nature as they produce acidic solution by reacting with water, so here Cl2O,P4O10,SO3 are acidic oxides which produce HOCl,H3PO4,H2SO4 respectively, with water.
Alkali metal and alkaline earth metal oxides are basic in nature, as they produce metal hydroxide solution with water and metal hydroxides are basic in nature.
Here, Na2O,CaO,Li2O,MgO are basic hydroxides which form NaOH,Ca(OH)2,LiOH,Mg(OH)2 respectively, with water.
Al2O3 is amphoteric oxide as it can react either with acid or base to form salt and water.