Russian is written in Cyrillic alphabet, which was invented in 9th century AD and was initially used for Old Church Slavonic (the oldest attested Slavic language, from a time when language of different Slavs was still mutually intelligible, and only later on evolved in separate languages). Cyrillic alphabet is derived form Greek alphabet. Latin alphabet is also derived from Greek alphabet, where Etruscan script was an intermediary.
So both alphabets derive from the same alphabet – the Greek one, and that's the reason for their similarity. There are different reasons for the cases where they differ, though:
Added: I had to add the third reason, at first I thought it would be obvious, but it may not be so: 3) Greek influenced Latin and Cyrillic in different stages or types of its forms and through different intermediaries, so that's another reason for differences. For example, the Etruscan script evolved from some western type of Greek script, which had some peculiarities compared to what is now "standard" Greek alphabet, the letter lambda (Λ) was written differently, more similar to today's Latin L.