What is light? And how do we know that light is an electromagnetic wave?
Light is what is needed for our eyes to see, and until the coming of Maxwell, light and electricity and magnetism were two very different physics observations. To start with electricity was known from rubbing stuff together and getting sparks. Magnetism was known from stones found in Magnesia in Asia Minor where it was seen that there was attraction and repulsion, and by the time of Maxwell electricity and magnetism had been studied in circuits, mathematics describing their behavior was governed by specific laws., but nobody had connected electricity and magnetism to light.
Then came Maxwell with his brilliant equations that tied up the previous laws in a system of differential equations, which, when studied showed solutions that fitted the behavior of light! It was then the electromagnetic waves modeled correctly light and we have the progress we see by the unification of two different phenomena.
This link has examples of the way the mathematics describes with electric and magnetic fields, light.
If you study further, there is more to this, because now we know that there exists quantum mechanics, a layer of mathematics below the mathematics of Maxwell where light is composed of photons, which add up to give the classical electromagnetic light, mathematically too, but it needs a lot of graduate study to understand the mathematics. It works in describing the observations and data.
I asked my teacher and he said that when you place a compass in light's path, the needle of the compass rotates.
I think your teacher has given a confused recollection of the Crookes radiometer . Certainly a compass will not be affected like that.
In answer to the title
What is light, a wave or a particle or A wave-particle?
Light is represented by the classical electromagnetic wave and it can shown that it is an emergent superposition of a very large number of particles called photons. See this double slit experiment one photon at a time, how it builds up the classical interference pattern of light,

. Single-photon camera recording of photons from a double slit illuminated by very weak laser light. Left to right: single frame, superposition of 200, 1’000, and 500’000 frames.