Elecromagnetic field : sources and media