Elements are sorted into metals and non-metals by their properties. Metals are good conductors of heat and electricity, are malleable (can be hammered into shape) and ductile (can be pulled into wires), and mostly have high melting and boiling points. Non-metals are usually poor conductors, are brittle when solid and mostly have low melting and boiling points.
Metals also share chemical reactions. Many react with dilute acids to give a salt and hydrogen. Reactive metals react with cold water to form a metal hydroxide and hydrogen; less reactive ones need steam and form a metal oxide and hydrogen. Metals react with oxygen to form metal oxides, most of which are basic.