How do the oral pills function a contraceptives?

(a) How do the oral pills function a contraceptives?
(b) The use of these pills may be harmful. Why?

(a) They function by changing the hormonal balance of the body.
This prevents release of ova from the ovary and hence fertilization does not occur.
(b) Change in hormonal balance may cause some side effects.