Neither are professional. The Nikon is what’s known as a ‘bridge’ camera… kind of half way between a point and shoot and a DSLR. That’s more to do with the form factor, layout and some of the features though. The two main things that set a DSLR apart from standard cameras is a large image sensor and interchangeable lenses. The Nikon has neither of those, so you probably wouldn’t notice much difference between the Nikon and the Sony when it comes to quality and useability.
If you can get a second hand Canon 700D then you could do much worse. Good for video as well.