A charge oscillating with some frequency, produces an oscillating electric field in space, which in tum produces an oscillating magnetic field perpendicular to the electric field this process goes on repeating producing em waves in space perpendicular to both the fields.

Direction of
and
are perpendicular to each other and also perpendicular to direction of propagation of em waves.