Magpies

Does anyone know anything about magpies? I've just been watching two magpies in my garden: one was sitting on a neighbour's roof, the other was pecking at the windowframe. They then landed on my fence, before hopping into my garden.