An airplane (in British English, aeroplane) is one type of aircraft. But there are many other types, including helicopters, dirigibles, gliders, and microlights.
So, if you want to talk about flying vehicles in general, you could use aircraft, but for specific cases that are fixed-wing, powered aircraft, use airplane.