Hello Sonia:
Although the subject is addressed well in these answers, perhaps a little more will also help.
NECESSARILY is used to show that one idea is directly related to another. As Su Ki indicates, just because a salesman tells you something, it is not, "of necessity" that you are being told the truth or being told what is factually so.
REQUISITE is the word that I find most commonly associated in meaning with "necessarily".
Daniel referred to this with his mention of "requirement".
Let's look at some sample sentences for clarity, because it is common in English to hear or read the phrase like "it is not necessarily so that....etc." It can be understood to mean that
It---Does---Not---Logically----or---Factually----Follow-----As---A---Conclusion.
It is not necessarily true that because I believe in defending my home, that I am a strong advocate for violence generally as a solution to problems.
It is not necessarily true that either a British, Australian, Canadian or American "accent" is preferable.
It is not necessarily true that a "language partner" seeking a "friend" can be a good teacher of English for you.