A pulsar is a highly magnetised neutron star, with a radius of 10-15 km, having somewhat greater mass than the Sun which has a radius of approximately 1 million km. Radiation is beamed out along the magnetic poles and pulses of radiation are received as the beam crosses the Earth, in the same manner.

Watch this: