Metal oxides are basic in nature because they reacts with dilute acids to form salt and water. They also dissolve in water to form metalhydroxides which are alkaline in nature. These metal hydroxides release OH- ions.That's why metal oxides are basic.