Also in any AC source their must b a moving part in the system cause AC is produced with movement from a wire or a magnet.
That is just
one way to produce AC. The purpose of an oscillator circuit is to convert DC into AC of appropriate amplitude, wave shape, frequency, and power. There are many circuits available to do this. But all electronic oscillators have two things in common: an amplifier circuit with sufficient gain (amplification) to overcome losses, and positive feedback from the output of the amplifier to its input. The devil is in the details, which can be quite complicated. You need to decide what you are going to DO before you can determine HOW to do it.
In the latter part of the 19th Century, and somewhat into the early part of the 20th century, rotating machinery was used to generate quite powerful low-frequency radio waves for communications purposes. The invention of the triode vacuum tube revolutionized the manner in which electronic oscillators with no moving parts were used to generate radio waves.
The invention of the
linear and reflex klystrons, and the resonant-cavity cross-field
magnetron during WWII, and later the cross-field amplifier, extended "solid state" no-moving-parts radio oscillators and amplifiers into microwave frequencies. Then came the mid 20th Century semiconductor revolution with tunnel or Esaki diodes, Gunn diodes, and exotic gallium arsenide heterojunction bipolar transistors that virtually eliminated vacuum-tube based oscillators for all but the highest microwave frequency applications.
Note that vacuum tubes still reign supreme at most microwave frequencies requiring significant amounts of power: magnetrons, traveling-wave tubes (TWTs), backward wave oscillators (BWOs), and megajoule
free-electron lasers (FELs) have extended power radio oscillators to vacuum ultraviolet wavelengths and beyond to low-energy gamma rays. The only "moving parts" in these devices are electrons, albeit with the help of magnetic fields to direct and control their motion.
Get started on your journey of learning about electronic oscillators by visiting some of the
links on this Google results page.